diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java b/src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java index bb7c0a99..e05edb00 100644 --- a/src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java +++ b/src/main/java/kr/syeyoung/dungeonsguide/SkyblockStatus.java @@ -70,8 +70,7 @@ public class SkyblockStatus { Collection<Score> scores = scoreboard.getSortedScores(scoreObjective); boolean foundDungeon = false; for (Score sc:scores) { - if (sc.getPlayerName() == null) continue; - ScorePlayerTeam scorePlayerTeam = scoreboard.getTeam(sc.getPlayerName()); + ScorePlayerTeam scorePlayerTeam = scoreboard.getPlayersTeam(sc.getPlayerName()); String strippedLine = TextUtils.keepScoreboardCharacters(TextUtils.stripColor(ScorePlayerTeam.formatPlayerName(scorePlayerTeam, sc.getPlayerName()))).trim(); if (strippedLine.contains("Dungeon Cleared: ")) { |