From b15054194c9f83ee97c5aee7262db3fe2e8816b0 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Fri, 15 Jul 2022 00:05:23 +0800 Subject: +remove dev map stuff stoping secrets showing at all (oops) --- features/dungeonMap/index.js | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'features/dungeonMap/index.js') 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) { -- cgit