Show non-null message after clearing delivery objective in editor

This commit is contained in:
PikaMug 2020-04-02 15:59:24 -04:00
parent 6510a7b235
commit dfdddf8e66

View File

@ -291,7 +291,7 @@ public class NPCsPrompt extends QuestsEditorNumericPrompt {
} else if (input.equalsIgnoreCase("3")) {
return new DeliveryMessagesPrompt();
} else if (input.equalsIgnoreCase("4")) {
context.getForWhom().sendRawMessage(ChatColor.YELLOW + Lang.get("stageEditorDeliveriesCleared"));
context.getForWhom().sendRawMessage(ChatColor.YELLOW + Lang.get("Cleared"));
context.setSessionData(pref + CK.S_DELIVERY_ITEMS, null);
context.setSessionData(pref + CK.S_DELIVERY_NPCS, null);
context.setSessionData(pref + CK.S_DELIVERY_MESSAGES, null);