mirror of
https://github.com/PikaMug/Quests.git
synced 2025-01-24 17:21:40 +01:00
Display unmodified user input for Planner month, fixes #1414
This commit is contained in:
parent
78ddf6da23
commit
90c84ebc0f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user