From c71b4f83abb2697781f8e6eafa8ad35f924fbdf7 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Tue, 1 Mar 2022 21:25:13 +0800 Subject: many changes (will list in a bit) --- features/betterGuis/index.js | 1 + features/betterGuis/museumGui.js | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'features/betterGuis') 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() } } -- cgit