mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-23 19:15:49 +01:00
Return old prompt from date/time
This commit is contained in:
parent
6928211a56
commit
aca13cde84
@ -193,6 +193,7 @@ public class DateTimePrompt extends QuestsEditorNumericPrompt {
|
||||
context.setSessionData("tempMinute", null);
|
||||
context.setSessionData("tempSecond", null);
|
||||
context.setSessionData("tempZone", null);
|
||||
return oldPrompt;
|
||||
case 9:
|
||||
int day = (Integer) context.getSessionData("tempDay");
|
||||
int month = (Integer) context.getSessionData("tempMonth");
|
||||
@ -210,6 +211,7 @@ public class DateTimePrompt extends QuestsEditorNumericPrompt {
|
||||
context.setSessionData(CK.PLN_END_DATE, date);
|
||||
}
|
||||
}
|
||||
return oldPrompt;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user