From 6fe49ca4603d7843e76f7a0b03354f3715718bd4 Mon Sep 17 00:00:00 2001 From: Bernhard Bonigl Date: Fri, 22 Jan 2016 15:10:06 +0100 Subject: [PATCH] Render main multimodel names before rendering modules so they can render stuff over it if needed --- .../java/slimeknights/mantle/client/gui/GuiMultiModule.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/slimeknights/mantle/client/gui/GuiMultiModule.java b/src/main/java/slimeknights/mantle/client/gui/GuiMultiModule.java index 30ade5e..49cea12 100644 --- a/src/main/java/slimeknights/mantle/client/gui/GuiMultiModule.java +++ b/src/main/java/slimeknights/mantle/client/gui/GuiMultiModule.java @@ -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) {