Fix genetics item registration

However, now textures are screwed because Binnie made doesn't have consistent capitalization.
This commit is contained in:
ah-OOG-ah committed 2024-09-29 19:14:10 -04:00
1 parent aea58b0b65
commit 004f38a782
13 files changed
+53 -36

No files matched your search

@@ -19,14 +19,16 @@ public abstract class DamageItems extends Item {
private final String modid;
protected DamageItems(CreativeTabs tab, String modid, String... names) {
final String name = "misc";
setCreativeTab(tab);
setHasSubtypes(true);
setUnlocalizedName("misc");
setUnlocalizedName(name);
NAMES = names;
ICONS = new IIcon[names.length];
this.modid = modid;
GameRegistry.registerItem(this, getUnlocalizedName());
GameRegistry.registerItem(this, name);
}
public ItemStack getStack(int count, int damage) {