Merge branch 'master' into merge-resolutions

This commit is contained in:
tastybento 2024-06-30 14:13:24 -07:00 committed by GitHub
commit e374dbd1c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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()));
} }