Change layout recalculation order (#1125) (#1147)

Co-authored-by: gorbit99 <[email protected]>
This commit is contained in:
boubou19andgorbit99 authored and GitHub committed 2026-11-20 21:34:18 +01:00
1 parent 7fc80371c7
commit 558449ca99
1 file changed
+2 -2
@@ -713,6 +713,8 @@ public class LayoutManager implements IContainerInputHandler, IContainerTooltipH
@Override
public void load(GuiContainer gui) {
NEIController.load(gui);
if (isEnabled()) {
setInputFocused(null);
@@ -726,8 +728,6 @@ public class LayoutManager implements IContainerInputHandler, IContainerTooltipH
AutoFocusWidget.instance.load(gui);
}
NEIController.load(gui);
if (checkCreativeInv(gui) && gui.mc.currentScreen instanceof GuiContainerCreative) // override creative with
// creative+
gui.mc.displayGuiScreen(null); // close the screen and wait for the server to open it for us