Fix silly GUI crash
This commit is contained in:
parent
9496f7dfa3
commit
4962dd62b3
1 changed files with 2 additions and 2 deletions
|
@ -188,12 +188,12 @@ public class GuiLogisticalSorter extends GuiMekanism
|
||||||
if(filter instanceof ItemStackFilter)
|
if(filter instanceof ItemStackFilter)
|
||||||
{
|
{
|
||||||
fontRenderer.drawString("ItemStack Filter", 58, yStart + 2, 0x404040);
|
fontRenderer.drawString("ItemStack Filter", 58, yStart + 2, 0x404040);
|
||||||
fontRenderer.drawString("Color: " + filter.color != null ? filter.color.getName() : "None", 58, yStart + 11, 0x404040);
|
fontRenderer.drawString("Color: " + (filter.color != null ? filter.color.getName() : "None"), 58, yStart + 11, 0x404040);
|
||||||
}
|
}
|
||||||
else if(filter instanceof OreDictFilter)
|
else if(filter instanceof OreDictFilter)
|
||||||
{
|
{
|
||||||
fontRenderer.drawString("OreDict Filter", 58, yStart + 2, 0x404040);
|
fontRenderer.drawString("OreDict Filter", 58, yStart + 2, 0x404040);
|
||||||
fontRenderer.drawString("Color: " + filter.color.getName(), 58, yStart + 11, 0x404040);
|
fontRenderer.drawString("Color: " + (filter.color != null ? filter.color.getName() : "None"), 58, yStart + 11, 0x404040);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue