diff --git a/src/main/java/com/gmail/nossr50/Leaderboard.java b/src/main/java/com/gmail/nossr50/Leaderboard.java index 120818ed5..e3cbe79d5 100644 --- a/src/main/java/com/gmail/nossr50/Leaderboard.java +++ b/src/main/java/com/gmail/nossr50/Leaderboard.java @@ -62,8 +62,7 @@ public class Leaderboard { String line = ""; ArrayList players = new ArrayList(); - while (in.readLine() != null) { - line = in.readLine(); + while ((line = in.readLine()) != null) { String[] character = line.split(":"); String p = character[0]; int powerLevel = 0;