mirror of
https://github.com/PikaMug/Quests.git
synced 2025-02-18 05:21:20 +01:00
Suppress error from null current stage on reload
This commit is contained in:
parent
f63ef8aca7
commit
a9fa6c4946
@ -36,7 +36,9 @@ public class StageTimer implements Runnable {
|
||||
if (quester.getQuestData(quest) == null) {
|
||||
return;
|
||||
}
|
||||
//if (quester.getQuestData(quest).isDelayOver()) {
|
||||
if (quester.getCurrentStage(quest) == null) {
|
||||
return;
|
||||
}
|
||||
if (quester.getCurrentStage(quest).getFinishAction() != null) {
|
||||
quester.getCurrentStage(quest).getFinishAction().fire(quester, quest);
|
||||
}
|
||||
@ -56,10 +58,6 @@ public class StageTimer implements Runnable {
|
||||
+ stageNum + " after delay");
|
||||
}
|
||||
}
|
||||
/*if (quester.getQuestData(quest) != null) {
|
||||
quester.getQuestData(quest).setDelayOver(true);
|
||||
}*/
|
||||
quester.updateJournal();
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user