diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-15 00:05:23 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-07-15 00:05:23 +0800 |
commit | b15054194c9f83ee97c5aee7262db3fe2e8816b0 (patch) | |
tree | 546a2acbc3da10e6dfaa8f73da1ccc6106f77c1c /features/dungeonMap/index.js | |
parent | 414fa9da49a47a3a32b6d28b307889f6feedae7d (diff) | |
download | SoopyV2-b15054194c9f83ee97c5aee7262db3fe2e8816b0.tar.gz SoopyV2-b15054194c9f83ee97c5aee7262db3fe2e8816b0.tar.bz2 SoopyV2-b15054194c9f83ee97c5aee7262db3fe2e8816b0.zip |
+remove dev map stuff stoping secrets showing at all (oops)
Diffstat (limited to 'features/dungeonMap/index.js')
-rw-r--r-- | features/dungeonMap/index.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/features/dungeonMap/index.js b/features/dungeonMap/index.js index 91c145b..9871a78 100644 --- a/features/dungeonMap/index.js +++ b/features/dungeonMap/index.js @@ -183,7 +183,6 @@ class DungeonMap extends Feature { let lastXY = "" let registerActionBar = this.registerCustom("actionbar", (curr, max) => { - return let loc = this.getRoomXYWorld() if (lastXY !== loc.join(",")) { @@ -198,21 +197,6 @@ class DungeonMap extends Feature { } }) registerActionBar.trigger.setCriteria('&7${curr}/${max} Secrets').setParameter('contains'); - - this.registerCommand("setrooms", (curr, max) => { - let loc = this.getRoomXYWorld() - - if (lastXY !== loc.join(",")) { - lastXY = loc.join(",") - return - } - if (curr === max) curr = "&a" + curr - if (this.roomDataStuff.get(loc.join(",")) !== curr + " " + max) { - this.roomDataStuff.set(loc.join(","), curr + " " + max) - - socketConnection.sendDungeonData2(this.people, [loc.join(","), curr + " " + max]) - } - }) } updateDungeonMapData2(data) { |