fix filler GUI tooltip rendering

This commit is contained in:
Adrian 2015-06-14 14:18:34 +02:00
parent 6c3d6f4e1b
commit 4190c56f1e

View file

@ -126,10 +126,14 @@ public class GuiFiller extends GuiAdvancedInterface {
@Override
protected void drawGuiContainerForegroundLayer(int mx, int my) {
super.drawGuiContainerForegroundLayer(mx, my);
String title = StringUtils.localize("tile.fillerBlock.name");
fontRendererObj.drawString(title, getCenteredOffset(title), 6, 0x404040);
fontRendererObj.drawString(StringUtils.localize("gui.filling.resources"), 8, 74, 0x404040);
fontRendererObj.drawString(StringUtils.localize("gui.inventory"), 8, 142, 0x404040);
GuiTools.drawCenteredString(fontRendererObj, filler.currentPattern.getDescription(), 56);
drawTooltipForSlotAt(mx, my);
}
}