mirror of
https://github.com/PikaMug/Quests.git
synced 2024-12-25 02:28:12 +01:00
Use existing stage for fail action, fixes #2286
This commit is contained in:
parent
18eb72a822
commit
e26182705e
@ -4354,8 +4354,7 @@ public class BukkitQuester implements Quester {
|
||||
.replace("<quest>", quest.getName()));
|
||||
}
|
||||
if (stage.getFailAction() != null) {
|
||||
plugin.getServer().getScheduler().runTask(plugin, () ->
|
||||
getCurrentStage(quest).getFailAction().fire(this, quest));
|
||||
plugin.getServer().getScheduler().runTask(plugin, () -> stage.getFailAction().fire(this, quest));
|
||||
}
|
||||
hardQuit(quest);
|
||||
} else if (giveReason) {
|
||||
|
Loading…
Reference in New Issue
Block a user