diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-08 18:33:16 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-08 18:33:16 +0800 |
commit | a7e02abcf7ec9d8dc53be258654e6d8e14833cd2 (patch) | |
tree | e99a15078029215a7f6d71c1194999c8998a450a | |
parent | 766fc53303eb93468874245a620e675daf25d6a7 (diff) | |
download | SoopyV2-a7e02abcf7ec9d8dc53be258654e6d8e14833cd2.tar.gz SoopyV2-a7e02abcf7ec9d8dc53be258654e6d8e14833cd2.tar.bz2 SoopyV2-a7e02abcf7ec9d8dc53be258654e6d8e14833cd2.zip |
fix dung map v2
-rw-r--r-- | features/dungeonMap/index.js | 2 |
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++ |