Render main multimodel names before rendering modules so they can render stuff over it if needed

This commit is contained in:
Bernhard Bonigl committed 2016-01-22 15:10:06 +01:00
1 parent a6df441c8c
commit 6fe49ca460
1 file changed
+3 -3
@@ -89,6 +89,9 @@ public class GuiMultiModule extends GuiContainer { //implements INEIGuiHandler {
@Override
protected void drawGuiContainerForegroundLayer(int mouseX, int mouseY) {
drawContainerName();
drawPlayerInventoryName();
for(GuiModule module : modules) {
// set correct state for the module
GlStateManager.pushMatrix();
@@ -98,9 +101,6 @@ public class GuiMultiModule extends GuiContainer { //implements INEIGuiHandler {
module.handleDrawGuiContainerForegroundLayer(mouseX, mouseY);
GlStateManager.popMatrix();
}
drawContainerName();
drawPlayerInventoryName();
}
protected void drawBackground(ResourceLocation background) {