Move golden head to World and fix double-creation that derped the registration. #881

This commit is contained in:
Bernhard Bonigl committed 2014-08-21 20:42:13 +02:00
1 parent 9490b1aff6
commit 5b8484d2dc
4 files changed
+10 -6

No files matched your search

@@ -186,7 +186,6 @@ public class TinkerTools
public static Item manualBook;
public static ToolCore excavator;
public static Item creativeModifier;
public static Item goldHead;
// recipe stuff
public static boolean thaumcraftAvailable;
@@ -337,8 +336,6 @@ public class TinkerTools
// compat
TConstructRegistry.addItemToDirectory(toolPartStrings[i], toolParts[i]);
}
goldHead = new GoldenHead(4, 1.2F, false).setAlwaysEdible().setPotionEffect(Potion.regeneration.id, 10, 0, 1.0F).setUnlocalizedName("goldenhead");
GameRegistry.registerItem(TinkerTools.goldHead, "goldHead");
TinkerTools.creativeModifier = new CreativeModifier().setUnlocalizedName("tconstruct.modifier.creative");
GameRegistry.registerItem(TinkerTools.creativeModifier, "creativeModifier");