mirror of
https://github.com/BentoBoxWorld/Level.git
synced 2024-11-27 12:38:21 +01:00
Merge branch 'master' into merge-resolutions
This commit is contained in:
commit
e374dbd1c1
@ -414,7 +414,7 @@ public class LevelsManager {
|
|||||||
addon.log("Generating rankings");
|
addon.log("Generating rankings");
|
||||||
handler.loadObjects().forEach(il -> {
|
handler.loadObjects().forEach(il -> {
|
||||||
if (il.getLevel() > 0) {
|
if (il.getLevel() > 0) {
|
||||||
// Load islands, but don't cache them
|
\ // Load islands, but don't cache them
|
||||||
addon.getIslands().getIslandById(il.getUniqueId(), false)
|
addon.getIslands().getIslandById(il.getUniqueId(), false)
|
||||||
.ifPresent(i -> this.addToTopTen(i, il.getLevel()));
|
.ifPresent(i -> this.addToTopTen(i, il.getLevel()));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user