Fixed crafting order of decor bricks so polished is no longer a lonely boi (#1221)
This commit is contained in:
parent
fa59e7000a
commit
3fb708d2be
11 changed files with 96 additions and 6 deletions
|
@ -23,7 +23,7 @@ public class ItemBlockEnum<E extends Enum<E> & IStringSerializable> extends Item
|
|||
|
||||
@Override
|
||||
public String getUnlocalizedName(ItemStack stack) {
|
||||
return getBlock().getUnlocalizedName() + getBlock().getTypes()[MathHelper.clamp(stack.getItemDamage(), 0, 15)].getName();
|
||||
return getBlock().getUnlocalizedName() + getBlock().getTypes()[MathHelper.clamp(stack.getItemDamage(), 0, getBlock().getTypes().length - 1)].getName();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue