patch a render issue (#1353)
This commit is contained in:
parent
5cb5bd0bc5
commit
d1c2477ea9
1 changed files with 7 additions and 2 deletions
|
@ -32,10 +32,15 @@ public class GT_GUIContainer_BasicMachine extends GT_GUIContainerMetaTile_Machin
|
||||||
mNEI = aNEI;
|
mNEI = aNEI;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void drawScreen(int par1, int par2, float par3) {
|
||||||
|
super.drawScreen(par1, par2, par3);
|
||||||
|
drawTooltip(par1, par2);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void drawGuiContainerForegroundLayer(int par1, int par2) {
|
protected void drawGuiContainerForegroundLayer(int par1, int par2) {
|
||||||
fontRendererObj.drawString(mName, 8, 4, 4210752);
|
fontRendererObj.drawString(mName, 8, 4, 4210752);
|
||||||
drawTooltip(par1, par2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void drawTooltip(int x2, int y2) {
|
private void drawTooltip(int x2, int y2) {
|
||||||
|
@ -53,7 +58,7 @@ public class GT_GUIContainer_BasicMachine extends GT_GUIContainerMetaTile_Machin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!list.isEmpty())
|
if (!list.isEmpty())
|
||||||
drawHoveringText(list, x, y, fontRendererObj);
|
drawHoveringText(list, x2, y2, fontRendererObj);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue