From 173fabc3229c591f0aa9dcd52d1d402a582f2ffa Mon Sep 17 00:00:00 2001 From: BuildTools Date: Fri, 8 Mar 2019 17:18:21 -0500 Subject: [PATCH] Return to previous prompt when clearing Planner repeat/cooldown --- .../main/java/me/blackvein/quests/prompts/PlannerPrompt.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/src/main/java/me/blackvein/quests/prompts/PlannerPrompt.java b/main/src/main/java/me/blackvein/quests/prompts/PlannerPrompt.java index 8826418c0..0b5e61541 100644 --- a/main/src/main/java/me/blackvein/quests/prompts/PlannerPrompt.java +++ b/main/src/main/java/me/blackvein/quests/prompts/PlannerPrompt.java @@ -108,6 +108,7 @@ public class PlannerPrompt extends FixedSetPrompt { } if (input.equalsIgnoreCase(Lang.get("cmdClear"))) { context.setSessionData(CK.PLN_REPEAT_CYCLE, null); + return new PlannerPrompt(plugin, factory); } long delay; try { @@ -141,6 +142,7 @@ public class PlannerPrompt extends FixedSetPrompt { } if (input.equalsIgnoreCase(Lang.get("cmdClear"))) { context.setSessionData(CK.PLN_COOLDOWN, null); + return new PlannerPrompt(plugin, factory); } long delay; try {