Fixed Crafting MB Names.
This commit is contained in:
@@ -41,6 +41,20 @@ public class BlockCraftingUnit extends AEBaseBlock
|
||||
return meta & 3;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUnlocalizedName(ItemStack is)
|
||||
{
|
||||
if ( is.getItemDamage() == 1 )
|
||||
return "tile.appliedenergistics2.BlockCraftingAccelerator";
|
||||
|
||||
return getItemUnlocalizedName( is );
|
||||
}
|
||||
|
||||
protected String getItemUnlocalizedName(ItemStack is)
|
||||
{
|
||||
return super.getUnlocalizedName( is );
|
||||
}
|
||||
|
||||
@Override
|
||||
public IIcon getIcon(int direction, int metadata)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user