From f75d939a94f14c0204280852edfefc7b57c3d2cc Mon Sep 17 00:00:00 2001 From: Absinthe Date: Tue, 5 Jul 2016 08:15:18 -0400 Subject: [PATCH 1/2] Added oredictionary definitions for seeds --- src/java/growthcraft/milk/init/GrcMilkItems.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/growthcraft/milk/init/GrcMilkItems.java b/src/java/growthcraft/milk/init/GrcMilkItems.java index ad4b56117..8d1e11744 100644 --- a/src/java/growthcraft/milk/init/GrcMilkItems.java +++ b/src/java/growthcraft/milk/init/GrcMilkItems.java @@ -229,6 +229,7 @@ public void init() OreDictionary.registerOre("foodOffal", stomach.asStack()); OreDictionary.registerOre("materialStarterCulture", starterCulture.asStack()); OreDictionary.registerOre("materialCheeseCloth", cheeseCloth.asStack()); + OreDictionary.registerOre("listAllseed", seedThistle.asStack()); OreDictionary.registerOre("foodMelon", Items.melon); OreDictionary.registerOre("foodFruit", Items.melon); From 946211f01c95b2d5e500e3db9c14e8646aa4fa15 Mon Sep 17 00:00:00 2001 From: Absinthe Date: Tue, 5 Jul 2016 11:20:52 -0400 Subject: [PATCH 2/2] Update GrcMilkItems.java --- src/java/growthcraft/milk/init/GrcMilkItems.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/java/growthcraft/milk/init/GrcMilkItems.java b/src/java/growthcraft/milk/init/GrcMilkItems.java index 8d1e11744..043dd0776 100644 --- a/src/java/growthcraft/milk/init/GrcMilkItems.java +++ b/src/java/growthcraft/milk/init/GrcMilkItems.java @@ -229,7 +229,11 @@ public void init() OreDictionary.registerOre("foodOffal", stomach.asStack()); OreDictionary.registerOre("materialStarterCulture", starterCulture.asStack()); OreDictionary.registerOre("materialCheeseCloth", cheeseCloth.asStack()); - OreDictionary.registerOre("listAllseed", seedThistle.asStack()); + + if (seedThistle != null) + { + OreDictionary.registerOre("listAllseed", seedThistle.asStack()); + } OreDictionary.registerOre("foodMelon", Items.melon); OreDictionary.registerOre("foodFruit", Items.melon);