mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-15 18:28:00 +00:00
- Fixed an issue with loading quest challenges from the wrong folder.
This commit is contained in:
@@ -477,9 +477,9 @@ public class QuestController {
|
||||
allChallenges = QuestChallengeGenerator.generateChallenges();
|
||||
return;
|
||||
} else if (world.isCustom()) {
|
||||
path = world.getChallengesDir() == null ? ForgeConstants.DEFAULT_CHALLENGES_DIR : ForgeConstants.QUEST_WORLD_DIR + world.getChallengesDir();
|
||||
} else {
|
||||
path = world.getChallengesDir() == null ? ForgeConstants.DEFAULT_CHALLENGES_DIR : ForgeConstants.USER_QUEST_WORLD_DIR + world.getChallengesDir();
|
||||
} else {
|
||||
path = world.getChallengesDir() == null ? ForgeConstants.DEFAULT_CHALLENGES_DIR : ForgeConstants.QUEST_WORLD_DIR + world.getChallengesDir();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user