mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-22 02:25:42 +01:00
Fire fail Action during Condition fail, fixes #1777
This commit is contained in:
parent
b38ee19dab
commit
72ab32c71a
@ -4974,6 +4974,9 @@ public class Quester implements IQuester {
|
||||
getPlayer().sendMessage(ChatColor.RED + Lang.get(getPlayer(), "conditionFailQuit")
|
||||
.replace("<quest>", quest.getName()));
|
||||
}
|
||||
if (stage.getFailAction() != null) {
|
||||
getCurrentStage(quest).getFailAction().fire(this, quest);
|
||||
}
|
||||
hardQuit(quest);
|
||||
} else if (giveReason) {
|
||||
if (System.currentTimeMillis() - lastNotifiedCondition > (plugin.getSettings().getConditionInterval()
|
||||
|
Loading…
Reference in New Issue
Block a user