mirror of
https://github.com/PikaMug/Quests.git
synced 2025-02-18 13:31:20 +01:00
Add method to set item loaded from hand in editor, part 2
This commit is contained in:
parent
0ff0f043ee
commit
088b62dea8
@ -193,7 +193,7 @@ public class ItemStackPrompt extends QuestsEditorNumericPrompt {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings({ "unchecked", "deprecation" })
|
@SuppressWarnings({ "unchecked", "deprecation" })
|
||||||
protected Prompt acceptValidatedInput(final ConversationContext context, final Number input, final ItemStack item) {
|
public Prompt acceptValidatedInput(final ConversationContext context, final Number input, final ItemStack item) {
|
||||||
switch (input.intValue()) {
|
switch (input.intValue()) {
|
||||||
case 0:
|
case 0:
|
||||||
context.setSessionData("tempMeta", null);
|
context.setSessionData("tempMeta", null);
|
||||||
|
Loading…
Reference in New Issue
Block a user