mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-20 04:10:07 +00:00
fix world client leak caused by static CraftGUI (#95)
This commit is contained in:
1 parent
bd0746583a
commit
0b312261db
1 file changed
+3
-1
@@ -267,7 +267,9 @@ public abstract class Window extends TopLevelWidget implements INetwork.ReceiveG
|
||||
entityInventory = inventory;
|
||||
}
|
||||
|
||||
public void onClose() {}
|
||||
public void onClose() {
|
||||
CraftGUI.render = null;
|
||||
}
|
||||
|
||||
public boolean isServer() {
|
||||
return !isClient();
|
||||
|
||||
Reference in new issue
Block a user