From b6e21337823b20eda51a2df448589e8a3a86f820 Mon Sep 17 00:00:00 2001 From: BuildTools Date: Sun, 25 Aug 2019 00:07:44 +0300 Subject: [PATCH] Fix issue with non-migrated levels. #168 --- src/main/java/world/bentobox/challenges/ChallengesManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/world/bentobox/challenges/ChallengesManager.java b/src/main/java/world/bentobox/challenges/ChallengesManager.java index 4f889c3..dd472b5 100644 --- a/src/main/java/world/bentobox/challenges/ChallengesManager.java +++ b/src/main/java/world/bentobox/challenges/ChallengesManager.java @@ -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);