diff options
| author | syeyoung <cyong06@naver.com> | 2021-01-30 19:20:27 +0900 |
|---|---|---|
| committer | syeyoung <cyong06@naver.com> | 2021-01-30 19:20:27 +0900 |
| commit | 8d4f019b9a33c4b5acfc28a5cdb530ceaba81923 (patch) | |
| tree | c8cadf92ff3413f2718db5ff227cf7166dcd970f /src/main/java/kr/syeyoung/dungeonsguide/roomprocessor | |
| parent | 1e092bb06afd70a58d5aa56dc1aba96fbc79150a (diff) | |
| download | Skyblock-Dungeons-Guide-8d4f019b9a33c4b5acfc28a5cdb530ceaba81923.tar.gz Skyblock-Dungeons-Guide-8d4f019b9a33c4b5acfc28a5cdb530ceaba81923.tar.bz2 Skyblock-Dungeons-Guide-8d4f019b9a33c4b5acfc28a5cdb530ceaba81923.zip | |
fix livid and map
Diffstat (limited to 'src/main/java/kr/syeyoung/dungeonsguide/roomprocessor')
| -rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java index bdee9bd4..b518fc07 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/roomprocessor/bossfight/BossfightProcessorLivid.java @@ -38,8 +38,10 @@ public class BossfightProcessorLivid extends GeneralBossfightProcessor { realLividName = updateEvent.entityLiving.getName(); realLivid = (EntityOtherPlayerMP) updateEvent.entityLiving; prefix = lividColorPrefix.get(realLividName.split(" ")[0]); + } else if (realLividName.equalsIgnoreCase(updateEvent.entityLiving.getName())) { + realLivid = (EntityOtherPlayerMP) updateEvent.entityLiving; } - } else if (updateEvent.entityLiving.getName().startsWith("§a﴾ "+prefix) && updateEvent.entityLiving instanceof EntityArmorStand) { + } else if (updateEvent.entityLiving.getName().startsWith(prefix+"﴾ ") && updateEvent.entityLiving instanceof EntityArmorStand) { lividStand = (EntityArmorStand) updateEvent.entityLiving; } } |
