diff options
Diffstat (limited to 'features')
-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) { |