Skip to content

Commit

Permalink
Issue #1038 remove island from top10 when admin deletes
Browse files Browse the repository at this point in the history
  • Loading branch information
rlf committed Jul 13, 2018
1 parent 39e1fce commit 9881b77
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ public synchronized IslandInfo createIslandInfo(String location, String player)
public synchronized void deleteIslandConfig(final String location) {
try {
IslandInfo islandInfo = cache.get(location);
updateRank(islandInfo, new IslandScore(0, Collections.EMPTY_LIST));
if (islandInfo.exists()) {
islandInfo.delete();
}
Expand Down

0 comments on commit 9881b77

Please sign in to comment.