Port ToolStation armor/accessory display stuff to CraftingStation (oh god this is a mess. do it properly in 1.8)

This commit is contained in:
Bernhard Bonigl committed 2014-09-24 11:46:25 +02:00
1 parent c38a249a6d
commit 1d4ca5c453
2 files changed
+165 -74

No files matched your search

@@ -181,7 +181,7 @@ public class ToolStationGui extends GuiContainer
{
ArmorCore armor = (ArmorCore) stack.getItem();
NBTTagCompound tags = stack.getTagCompound().getCompoundTag(armor.getBaseTagName());
this.drawCenteredString(fontRendererObj, "\u00A7n" + armor.getArmorName(), 349, 8, 0xffffff); // todo: localize
this.drawCenteredString(fontRendererObj, "\u00A7n" + stack.getDisplayName(), 349, 8, 0xffffff); // todo: localize
drawModularArmorStats(stack, armor, tags, 294, 24);
}