mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-26 15:03:10 +00:00
Made gamemode cycling with creative+ inventory as smooth as possible
This commit is contained in:
1 parent
583c8dc7a7
commit
e34189ae9c
3 files changed
+8
-5
No files matched your search
@@ -573,9 +573,8 @@ public class LayoutManager implements IContainerInputHandler, IContainerTooltipH
|
||||
|
||||
NEIController.load(gui);
|
||||
|
||||
if (checkCreativeInv(gui) &&
|
||||
gui.mc.currentScreen instanceof GuiContainerCreative)//makes cycle transitions seamless. Only closes if we are opening from fresh
|
||||
gui.mc.displayGuiScreen(null);
|
||||
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
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user