Skip to content

Commit

Permalink
Saves level data when a player does level
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Feb 3, 2019
1 parent 97fb434 commit e1dc26f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/world/bentobox/level/Level.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ public void setIslandLevel(World world, UUID targetPlayer, long level) {
// Add to cache
levelsCache.put(targetPlayer, ld);
topTen.addEntry(world, targetPlayer, getIslandLevel(world, targetPlayer));
handler.saveObject(ld);
}

/**
Expand Down

0 comments on commit e1dc26f

Please sign in to comment.