@@ -55,7 +55,6 @@ public void onEnable() {
5555
5656 try {
5757 instance = this ;
58- // Read something from your config.yml
5958 Config cfg = new Config (this );
6059
6160 // Register ACT Recipes
@@ -68,7 +67,7 @@ public void onEnable() {
6867 List <Object > rc = new ArrayList <>();
6968 ItemStack key = new ItemStack (sr .getResult ().getType (), 1 );
7069
71- // Convert the recipe to a list ( RecipeChoice access is reflective for 1.8 safety)
70+ // RecipeChoice access is reflective for 1.8 safety
7271 for (Map .Entry <Character , Object > choice : CompatUtils .getChoiceMap (sr ).entrySet ()) {
7372 if (choice .getValue () != null ) {
7473 rc .add (choice .getValue ());
@@ -87,7 +86,6 @@ public void onEnable() {
8786 ItemStack key = new ItemStack (slr .getResult ().getType (), 1 );
8887 List <Object > rc = CompatUtils .getShapelessChoiceList (slr );
8988
90- // Key has a list of recipe options
9189 if (!shapelessVanillaRecipes .containsKey (key )) {
9290 shapelessVanillaRecipes .put (key ,
9391 new ArrayList <>(Collections .singletonList (new Pair <>(slr .getResult (), rc ))));
@@ -97,21 +95,18 @@ public void onEnable() {
9795 }
9896 }
9997
100- // Register McMMO Events
10198 if (getServer ().getPluginManager ().isPluginEnabled ("McMMO" )) {
10299 getLogger ().log (Level .INFO , "McMMO found!" );
103100 getServer ().getPluginManager ().registerEvents (new McMMOEvents (), this );
104101 }
105102
106- // Registering Items
107103 FluffyItemSetup .setup (this );
108104 FluffyItemSetup .setupBarrels (this );
109105
110106 // Contribute this addon's per-language item translations (languages/<lang>/items.yml).
111107 Slimefun .getItemTranslationService ().registerTranslations (this );
112108 registerWiki ();
113109
114- // Register Events Class
115110 getServer ().getPluginManager ().registerEvents (new Events (), this );
116111 getServer ().getPluginManager ().registerEvents (new KeyedCrafterListener (), this );
117112
0 commit comments