Explorar o código

Regardless of case, we need both a position & stat value for this.
Fixes #541

GJ %!s(int64=12) %!d(string=hai) anos
pai
achega
ea4048dce9
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/main/java/com/gmail/nossr50/util/Leaderboard.java

+ 2 - 2
src/main/java/com/gmail/nossr50/util/Leaderboard.java

@@ -220,10 +220,10 @@ public class Leaderboard {
                 currentPos++;
                 continue;
             }
-            return new int[] {0};
+            return new int[] {0, 0};
         }
 
-        return new int[] {0};
+        return new int[] {0, 0};
     }
 
     private static class SkillComparator implements Comparator<PlayerStat> {