diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-03-01 21:25:13 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-03-01 21:25:13 +0800 |
commit | c71b4f83abb2697781f8e6eafa8ad35f924fbdf7 (patch) | |
tree | 7e992f047e1b19864cea8cee1671573a44cf20de /features/betterGuis | |
parent | 556eedeb7d58909cb716abe16d2c40910acdc43c (diff) | |
download | SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.tar.gz SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.tar.bz2 SoopyV2-c71b4f83abb2697781f8e6eafa8ad35f924fbdf7.zip |
many changes (will list in a bit)
Diffstat (limited to 'features/betterGuis')
-rw-r--r-- | features/betterGuis/index.js | 1 | ||||
-rw-r--r-- | features/betterGuis/museumGui.js | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/features/betterGuis/index.js b/features/betterGuis/index.js index 1f76310..c931e50 100644 --- a/features/betterGuis/index.js +++ b/features/betterGuis/index.js @@ -149,6 +149,7 @@ class BetterGuis extends Feature { } guiSlotClicked(inventoryName, slotId){ + if(inventoryName.endsWith(" Sack")) return false switch(inventoryName){ case "SkyBlock Menu": switch(slotId){ diff --git a/features/betterGuis/museumGui.js b/features/betterGuis/museumGui.js index d2756da..7015e5f 100644 --- a/features/betterGuis/museumGui.js +++ b/features/betterGuis/museumGui.js @@ -899,8 +899,6 @@ class MuseumGui { } if(this.dontOpen > 0){ this.dontOpen-- - cancel(event) - return } if(this.soopyGui.ctGui.isOpen()){ if(event.gui && event.gui.field_147002_h){ @@ -966,7 +964,7 @@ class MuseumGui { keyPress(key, keyId){ if(keyId === 1){ //escape key this.isInMuseum = false - this.dontOpen = 3 + // this.dontOpen = 1 Client.currentGui.close() } } |