dont reference mantle's copies of this

This commit is contained in:
Progwml6 committed 2014-02-06 19:23:40 -05:00
1 parent bde810c56b
commit 4b2fda2dfc
2 files changed
+4 -4

No files matched your search

@@ -25,10 +25,10 @@ public class CraftedSoilItemBlock extends MultiItemBlock
@Override
public String getUnlocalizedName (ItemStack itemstack)
{
int pos = MathHelper.clamp_int(itemstack.getItemDamage(), 0, this.blockType.length - 1);
int pos = MathHelper.clamp_int(itemstack.getItemDamage(), 0, this.blockTypes.length - 1);
if (pos <= 4)
return super.getUnlocalizedName(itemstack);
return (new StringBuilder()).append("block.slime.soil.").append(this.blockType[pos]).toString();
return (new StringBuilder()).append("block.slime.soil.").append(this.blockTypes[pos]).toString();
}
@Override