Return to previous prompt when clearing Planner repeat/cooldown

This commit is contained in:
BuildTools 2019-03-08 17:18:21 -05:00
parent 858d34cadc
commit 173fabc322

View File

@ -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 {