From d8d68e5f800a3d8a634012ac3cf046c2317f3c00 Mon Sep 17 00:00:00 2001 From: Patrick Zhong <18patz@students.harker.org> Date: Fri, 26 Jul 2019 22:51:39 -0600 Subject: [PATCH] Get the next stage correctly --- main/src/main/java/me/blackvein/quests/Quest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/main/java/me/blackvein/quests/Quest.java b/main/src/main/java/me/blackvein/quests/Quest.java index c6a916d03..77bf73704 100644 --- a/main/src/main/java/me/blackvein/quests/Quest.java +++ b/main/src/main/java/me/blackvein/quests/Quest.java @@ -231,7 +231,7 @@ public class Quest { throw new InvalidStageException(this, stage); } Stage currentStage = quester.getCurrentStage(this); - Stage nextStage = quester.getCurrentStage(this); + Stage nextStage = getStage(stage); QuesterPreChangeStageEvent preEvent = new QuesterPreChangeStageEvent(quester, this, currentStage, nextStage); plugin.getServer().getPluginManager().callEvent(preEvent); if (preEvent.isCancelled()) {