Skip to content

Commit

Permalink
Properly deletes hidden players from top ten
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Nov 17, 2019
1 parent 838507c commit d6117e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/world/bentobox/level/TopTen.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ public void getGUI(World world, final User user, String permPrefix) {
if (!entry.hasPermission(permPrefix + "intopten")) {
it.remove();
show = false;
// Remove from Top Ten completely
topTenList.get(world).remove(topTenUUID);
}
}
if (show) {
Expand Down

0 comments on commit d6117e6

Please sign in to comment.