mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
Oh thats why
This commit is contained in:
parent
098b1c1e6c
commit
0974a6f6d8
@ -183,10 +183,8 @@ public class RecipeManager implements Reloadable {
|
||||
blueprint.deploy(MythicRecipeStation.SMITHING, nk);
|
||||
|
||||
// Remember it
|
||||
if (nk.getValue() != null) { customRecipes.put(nk.getValue(), blueprint); } else {
|
||||
|
||||
if (book) { MMOItems.print(null, "Cannot register custom smithing recipe for $e{0} {1}$b into crafting book", "Custom Crafting", type.getId(), id);}
|
||||
booklessRecipes.add(blueprint); }
|
||||
if (nk.getValue() != null) { customRecipes.put(nk.getValue(), blueprint); } else { booklessRecipes.add(blueprint);
|
||||
if (book) { MMOItems.print(null, "Cannot register custom smithing recipe for $e{0} {1}$b into crafting book", "Custom Crafting", type.getId(), id);} }
|
||||
}
|
||||
|
||||
/**
|
||||
@ -236,10 +234,8 @@ public class RecipeManager implements Reloadable {
|
||||
blueprint.deploy(MythicRecipeStation.WORKBENCH, nk);
|
||||
|
||||
// Remember it
|
||||
if (nk.getValue() != null) { customRecipes.put(nk.getValue(), blueprint); } else {
|
||||
|
||||
if (book) { MMOItems.print(null, "Cannot register custom {2} recipe for $e{0} {1}$b into crafting book", "Custom Crafting", type.getId(), id, (shapeless ? "shapeless" : "shaped"));}
|
||||
booklessRecipes.add(blueprint); }
|
||||
if (nk.getValue() != null) { customRecipes.put(nk.getValue(), blueprint); } else { booklessRecipes.add(blueprint);
|
||||
if (book) { MMOItems.print(null, "Cannot register custom {2} recipe for $e{0} {1}$b into crafting book", "Custom Crafting", type.getId(), id, (shapeless ? "shapeless" : "shaped"));} }
|
||||
|
||||
/*
|
||||
CustomRecipe recipe = new CustomRecipe(type, id, list, shapeless);
|
||||
|
Loading…
Reference in New Issue
Block a user