mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 11:59:11 +00:00
Fix possible NPE
This commit is contained in:
1 parent
2ca2cef6a2
commit
4062adee6c
1 file changed
+3
-1
@@ -273,7 +273,9 @@ public class GuiCraftGUI extends GuiContainer {
|
||||
@Override
|
||||
public void onGuiClosed() {
|
||||
this.window.onClose();
|
||||
inventorySlots.onContainerClosed(mc.player);
|
||||
if (mc.player != null) {
|
||||
inventorySlots.onContainerClosed(mc.player);
|
||||
}
|
||||
}
|
||||
|
||||
public boolean isHelpMode() {
|
||||
|
||||
Reference in new issue
Block a user