Correct loading of locations reached, fixes #2164

This commit is contained in:
PikaMug 2023-11-28 17:59:00 -05:00
parent 24272a7243
commit 8507ebcb64
1 changed files with 1 additions and 1 deletions

View File

@ -362,7 +362,7 @@ public class BukkitQuesterYamlStorage implements QuesterStorageImpl {
index++;
}
}
if (questSec.contains("locations-to-reach")) {
if (questSec.contains("has-reached-location")) {
final List<Boolean> hasReached = questSec.getBooleanList("has-reached-location");
quester.getQuestDataOrDefault(quest).setLocationsReached(new LinkedList<>(hasReached));
}