Remove module offset

Was inconsistent with the mouse position, draw background, and slot locations
This commit is contained in:
David Burnett committed 2021-01-10 22:35:52 -05:00
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();
}
}