Make getSubItems non-client only. Use it for Ingredient iteration.

This commit is contained in:
LexManos committed 2017-06-24 14:47:48 -07:00
1 parent 478a84e748
commit efd8b38be9
18 files changed
+190 -16

No files matched your search

@@ -527,7 +527,7 @@ public class CraftingHelper {
registerI("minecraft:item", (context, json) -> Ingredient.fromStacks(CraftingHelper.getItemStackBasic(json, context)));
registerI("minecraft:empty", (context, json) -> Ingredient.EMPTY);
registerI("minecraft:item_nbt", (context, json) -> Ingredient.fromStacks(CraftingHelper.getItemStack(json, context)));
registerI("minecraft:item_nbt", (context, json) -> new IngredientNBT(CraftingHelper.getItemStack(json, context)));
registerI("forge:ore_dict", (context, json) -> new OreIngredient(JsonUtils.getString(json, "ore")));
}