diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-25 00:25:52 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-12-25 00:25:52 +0800 |
commit | 999ef1f72ba85d8534805f3b08a9084e792fbf04 (patch) | |
tree | 17988ab21fed4980141e7755e974431430bf07ce /features/betterGuis/index.js | |
parent | 6695867c01a718d20800394fe0685fba598e57b6 (diff) | |
download | SoopyV2-999ef1f72ba85d8534805f3b08a9084e792fbf04.tar.gz SoopyV2-999ef1f72ba85d8534805f3b08a9084e792fbf04.tar.bz2 SoopyV2-999ef1f72ba85d8534805f3b08a9084e792fbf04.zip |
CI 2
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; |