mirror of https://github.com/PikaMug/Quests.git
Correct loading of locations reached, fixes #2164
This commit is contained in:
parent
24272a7243
commit
8507ebcb64
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue