mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-19 19:49:41 +00:00
Render main multimodel names before rendering modules so they can render stuff over it if needed
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user