Catch error for #1214

This commit is contained in:
PikaMug 2020-04-17 06:37:19 -04:00
parent 0f333341da
commit ffecc74965

View File

@ -3707,6 +3707,7 @@ public class Quester {
if (quest == null) { if (quest == null) {
return; return;
} }
try {
if (quest.getOptions().getShareProgressLevel() == 1) { if (quest.getOptions().getShareProgressLevel() == 1) {
List<Quester> mq = getMultiplayerQuesters(quest); List<Quester> mq = getMultiplayerQuesters(quest);
if (mq == null) { if (mq == null) {
@ -3727,6 +3728,10 @@ public class Quester {
} }
} }
} }
} catch (Exception e) {
plugin.getLogger().severe("Error occurred while dispatching " + objectiveType + " for " + quest.getName());
e.printStackTrace();
}
} }
/** /**