aboutsummaryrefslogtreecommitdiff
path: root/features/dungeonMap/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'features/dungeonMap/index.js')
-rw-r--r--features/dungeonMap/index.js2
1 files changed, 1 insertions, 1 deletions
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++