mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-26 02:58:00 +01:00
Current stage of quest must exist before dispatch, fixes #1214
This commit is contained in:
parent
d74b37ff24
commit
47e6553103
@ -3721,6 +3721,9 @@ public class Quester {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (q.getCurrentStage(quest).containsObjective(objectiveType)) {
|
if (q.getCurrentStage(quest).containsObjective(objectiveType)) {
|
||||||
|
if (this.getCurrentStage(quest) == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (this.getCurrentStage(quest).containsObjective(objectiveType)
|
if (this.getCurrentStage(quest).containsObjective(objectiveType)
|
||||||
|| !quest.getOptions().getRequireSameQuest()) {
|
|| !quest.getOptions().getRequireSameQuest()) {
|
||||||
fun.apply(q);
|
fun.apply(q);
|
||||||
|
Loading…
Reference in New Issue
Block a user