Skip to content

Commit

Permalink
Fix issue with non-migrated levels.
Browse files Browse the repository at this point in the history
  • Loading branch information
BuildTools committed Aug 24, 2019
1 parent 15f4c8a commit b6e2133
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -612,6 +612,7 @@ private boolean migrateChallenges(World world)
this.challengeCacheData.remove(challenge.getUniqueId());

challenge.setUniqueId(addonName + challenge.getUniqueId().substring(world.getName().length()));
challenge.setLevel(addonName + challenge.getLevel().substring(world.getName().length()));
updated = true;

this.challengeDatabase.saveObject(challenge);
Expand Down

0 comments on commit b6e2133

Please sign in to comment.