diff options
Diffstat (limited to 'features/betterGuis/index.js')
-rw-r--r-- | features/betterGuis/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/features/betterGuis/index.js b/features/betterGuis/index.js index c5f21f4..e9b7e8a 100644 --- a/features/betterGuis/index.js +++ b/features/betterGuis/index.js @@ -123,7 +123,7 @@ class BetterGuis extends Feature { if(this.museumGuiEnabled.getValue()) this.museumGui.tick.call(this.museumGui) if(this.replaceSbMenuClicks.getValue()){ - if(Player.getOpenedInventory().getName()==="SkyBlock Menu"){ + if(Player.getOpenedInventory() && Player.getOpenedInventory().getName()==="SkyBlock Menu"){ if(this.lastWindowId === 0){ this.lastWindowId = Player.getOpenedInventory().getWindowId() return; |