diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-04-18 00:25:15 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-04-18 00:25:15 +0800 |
commit | 082d9cf4af63495a3d8709b0ee87dc935ed986dc (patch) | |
tree | e1da1a02907573f68c8052ec5a2a77366385361c /features/betterGuis/dungeonReadyGui.js | |
parent | f718bd5743701a7fb5f96e74a4df75145cc28789 (diff) | |
download | SoopyV2-082d9cf4af63495a3d8709b0ee87dc935ed986dc.tar.gz SoopyV2-082d9cf4af63495a3d8709b0ee87dc935ed986dc.tar.bz2 SoopyV2-082d9cf4af63495a3d8709b0ee87dc935ed986dc.zip |
Many changes
Diffstat (limited to 'features/betterGuis/dungeonReadyGui.js')
-rw-r--r-- | features/betterGuis/dungeonReadyGui.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/betterGuis/dungeonReadyGui.js b/features/betterGuis/dungeonReadyGui.js index 2428f5b..956d4a6 100644 --- a/features/betterGuis/dungeonReadyGui.js +++ b/features/betterGuis/dungeonReadyGui.js @@ -25,7 +25,7 @@ class DungeonReadyGui { if(event.gui && event.gui.field_147002_h){ Player.getPlayer().field_71070_bA = event.gui.field_147002_h - if(!Player.getOpenedInventory().getName().startsWith("Catacombs - Floor ")){ + if(!Player.getContainer().getName().startsWith("Catacombs - Floor ")){ return } @@ -34,7 +34,7 @@ class DungeonReadyGui { } return } - if(name === "Start Dungeon"){ + if(name === "Start Dungeon?" || name.startsWith("Catacombs - Floor ")){ if(event.gui && event.gui.field_147002_h) Player.getPlayer().field_71070_bA = event.gui.field_147002_h this.soopyGui.open() |