New Localization System Implemented :D

This commit is contained in:
oitsjustjose 2013-08-23 22:37:00 -05:00
commit 3363c4561f
41 changed files with 468 additions and 428 deletions

View file

@ -28,7 +28,7 @@ public class ItemBush extends ItemBlock {
@Override
public String getUnlocalizedName(ItemStack itemStack) {
int meta = MathHelper.clamp_int(itemStack.getItemDamage(), 0, BUSH_TYPES.length);
return super.getUnlocalizedName() + BUSH_TYPES[meta];
return BUSH_TYPES[meta];
}