Display unmodified user input for Planner month, fixes #1414

This commit is contained in:
PikaMug 2020-09-25 04:53:39 -04:00
parent 78ddf6da23
commit 90c84ebc0f

View File

@ -137,8 +137,8 @@ public class DateTimePrompt extends QuestsEditorNumericPrompt {
} }
case 2: case 2:
if (context.getSessionData("tempMonth") != null) { if (context.getSessionData("tempMonth") != null) {
return ChatColor.GRAY + "(" + ChatColor.AQUA + context.getSessionData("tempMonth") return ChatColor.GRAY + "(" + ChatColor.AQUA
+ ChatColor.GRAY + ")"; + ((Integer) context.getSessionData("tempMonth") + 1) + ChatColor.GRAY + ")";
} }
case 3: case 3:
if (context.getSessionData("tempYear") != null) { if (context.getSessionData("tempYear") != null) {