mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-22 05:02:11 +00:00
clear lastWorld reference when the world is null
This commit is contained in:
1 parent
1cd4f802dd
commit
b39dd986bd
1 file changed
+2
@@ -308,6 +308,8 @@ public class ClientHandler {
|
||||
if (mc.currentScreen == null) NEIController.processCreativeCycling(mc.thePlayer.inventory);
|
||||
|
||||
updateMagnetMode(mc.theWorld, mc.thePlayer);
|
||||
} else {
|
||||
lastworld = null;
|
||||
}
|
||||
|
||||
GuiScreen gui = mc.currentScreen;
|
||||
|
||||
Reference in new issue
Block a user