mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-27 23:46:05 +00:00
Fix genetics item registration
However, now textures are screwed because Binnie made doesn't have consistent capitalization.
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user