Skip to content

Commit

Permalink
Fix issue when generator were not imported into memory
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Jul 6, 2020
1 parent 783344e commit 89e4c2f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,8 @@ public void wipeGameModeGenerators(Optional<GameModeAddon> optional)
keySet.forEach(uniqueId -> {
if (uniqueId.startsWith(objectKey))
{
this.generatorTierCache.remove(objectKey);
this.generatorTierDatabase.deleteID(objectKey);
this.generatorTierCache.remove(uniqueId);
this.generatorTierDatabase.deleteID(uniqueId);
}
});
}
Expand Down

0 comments on commit 89e4c2f

Please sign in to comment.