mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-27 00:45:40 +01:00
Fixed a quest parent loading issue
This commit is contained in:
parent
f09d1fe7c3
commit
27273a974d
@ -74,7 +74,7 @@ public class Quest extends PostLoadObject {
|
||||
if (config.contains("parent"))
|
||||
for (String parent : config.getStringList("parent"))
|
||||
try {
|
||||
parents.add(MMOCore.plugin.questManager.get(parent));
|
||||
parents.add(MMOCore.plugin.questManager.getOrThrow(parent));
|
||||
} catch (NullPointerException exception) {
|
||||
MMOCore.plugin.getLogger().log(Level.WARNING, "Couldn't find quest ID '" + parent + "'");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user