Properly deletes hidden players from top ten

https://github.com/BentoBoxWorld/Level/issues/98
This commit is contained in:
tastybento 2019-11-16 17:24:11 -08:00
parent 838507cc4a
commit d6117e69d8
1 changed files with 2 additions and 0 deletions

View File

@ -107,6 +107,8 @@ public class TopTen implements Listener {
if (!entry.hasPermission(permPrefix + "intopten")) {
it.remove();
show = false;
// Remove from Top Ten completely
topTenList.get(world).remove(topTenUUID);
}
}
if (show) {