From a7e02abcf7ec9d8dc53be258654e6d8e14833cd2 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Wed, 8 Jun 2022 18:33:16 +0800 Subject: fix dung map v2 --- features/dungeonMap/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/dungeonMap/index.js b/features/dungeonMap/index.js index 8351a11..3285e55 100644 --- a/features/dungeonMap/index.js +++ b/features/dungeonMap/index.js @@ -391,8 +391,8 @@ class DungeonMap extends Feature { let name = ChatLib.removeFormatting(Player.getContainer().getStackInSlot(3 + i)?.getName()?.split(" ")?.pop() || "") if (this.nameToUUID[name] && this.nameToUUID[name] !== Player.getUUID().toString()) { this.idToPlayer[playerI] = this.nameToUUID[name] + if (name) playerI++ } - if (name) playerI++ } this.idToPlayer[playerI] = Player.getUUID().toString() playerI++ -- cgit