mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-24 22:04:33 +00:00
Remove module offset
Was inconsistent with the mouse position, draw background, and slot locations
This commit is contained in:
1 parent
535a3e9d5b
commit
83bf1a136d
1 file changed
-4
@@ -90,11 +90,7 @@ public class MultiModuleScreen<CONTAINER extends MultiModuleContainer<?>> extend
|
||||
this.drawPlayerInventoryName(matrixStack);
|
||||
|
||||
for (ModuleScreen<?,?> module : this.modules) {
|
||||
// set correct state for the module
|
||||
matrixStack.push();
|
||||
matrixStack.translate(module.guiLeft - this.guiLeft, module.guiTop - this.guiTop, 0.0F);
|
||||
module.handleDrawGuiContainerForegroundLayer(matrixStack, mouseX, mouseY);
|
||||
matrixStack.pop();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user