Fixed Spectacles not rendering properly.

Fixes #28.
This commit is contained in:
Vexatos committed 2014-08-19 11:38:47 +02:00
1 parent ae4691712d
commit 1927243a94
2 files changed
+2 -2

No files matched your search

@@ -85,7 +85,6 @@ public class ItemGermlingGE extends ItemGE implements IVariableFermentable {
return StringUtil.localize(customTreeKey);
}
return StringUtil.localize("trees.grammar." + type.getName()).replaceAll("%SPECIES", individual.getDisplayName()).replaceAll("%TYPE", StringUtil.localize("trees.grammar." + type.getName() + ".type"));
//return individual.getDisplayName() + " " + type.getName();
}
@SuppressWarnings("rawtypes")
@@ -34,7 +34,8 @@ public class ItemArmorNaturalist extends ItemArmor implements IArmorNaturalist {
setCreativeTab(CreativeTabForestry.tabForestry);
}
public String getArmorTexture(ItemStack stack, Entity entity, int slot, int layer) {
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type) {
return Defaults.ID + ":" + Defaults.TEXTURE_NATURALIST_ARMOR_PRIMARY;
}