New Localization System Implemented :D
This commit is contained in:
parent
7816fb82b8
commit
3363c4561f
41 changed files with 468 additions and 428 deletions
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue