diff options
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/questing/SBInfo.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/questing/SBInfo.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/questing/SBInfo.java b/src/main/java/io/github/moulberry/notenoughupdates/questing/SBInfo.java index 2d594ccf..67cd79a9 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/questing/SBInfo.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/questing/SBInfo.java @@ -84,10 +84,8 @@ public class SBInfo { ScoreObjective sidebarObjective = scoreboard.getObjectiveInDisplaySlot(1); //ยง707/14/20 - List<Score> scores = new ArrayList<>(); - for(Score score : scoreboard.getSortedScores(sidebarObjective)) { - scores.add(score); - } + List<Score> scores = new ArrayList<>(scoreboard.getSortedScores(sidebarObjective)); + List<String> lines = new ArrayList<>(); for(int i=scores.size()-1; i>=0; i--) { Score score = scores.get(i); |
