Fix issue with non-migrated levels.

#168
This commit is contained in:
BuildTools 2019-08-25 00:07:44 +03:00
parent 15f4c8abd4
commit b6e2133782

View File

@ -612,6 +612,7 @@ public class ChallengesManager
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);