Oh thats why (but hopefully this one will actually build)

This commit is contained in:
Gunging 2021-04-09 01:19:47 -05:00
parent 0974a6f6d8
commit 3bde9b1b32

View File

@ -312,6 +312,7 @@ public class RecipeManager implements Reloadable {
if (b == null) { continue; } if (b == null) { continue; }
customRecipes.get(b).disable(); customRecipes.get(b).disable();
try { Bukkit.removeRecipe(b); } try { Bukkit.removeRecipe(b); }
catch (Throwable e) { MMOItems.print(null, "Could not register crafting book recipe for $r{0}$b:$f {1}", "MMOItems Custom Crafting", b.getKey(), e.getMessage()); } } catch (Throwable e) { MMOItems.print(null, "Could not register crafting book recipe for $r{0}$b:$f {1}", "MMOItems Custom Crafting", b.getKey(), e.getMessage()); } }
customRecipes.clear(); customRecipes.clear();