diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-26 17:45:03 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2021-11-26 17:45:03 +0800 |
commit | cb7aa1fe284e8230c1c297ac4f23b615c4fbf61e (patch) | |
tree | 745500b68ae425489a163d216c15332f7d77072c /features/betterGuis | |
parent | 71d4a2dc68577005f933c8101eaaabc15d9a3c46 (diff) | |
download | SoopyV2-cb7aa1fe284e8230c1c297ac4f23b615c4fbf61e.tar.gz SoopyV2-cb7aa1fe284e8230c1c297ac4f23b615c4fbf61e.tar.bz2 SoopyV2-cb7aa1fe284e8230c1c297ac4f23b615c4fbf61e.zip |
Quick museum performance optimisation
Diffstat (limited to 'features/betterGuis')
-rw-r--r-- | features/betterGuis/museumGui.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/betterGuis/museumGui.js b/features/betterGuis/museumGui.js index 8739b2d..a6b0474 100644 --- a/features/betterGuis/museumGui.js +++ b/features/betterGuis/museumGui.js @@ -30,6 +30,8 @@ class MuseumGui { this.soopyGui = new SoopyGui() + this.soopyGui.optimisedLocations = true + this.soopyGui.element.addEvent(new SoopyKeyPressEvent().setHandler((...args)=>{ this.keyPress(...args) })) @@ -884,7 +886,7 @@ class MuseumGui { if(name === "Your Museum" && !this.isInMuseum){ if(event.gui && event.gui.field_147002_h) Player.getPlayer().field_71070_bA = event.gui.field_147002_h - + this.isInMuseum = true this.soopyGui.open() |