From b82cf9e377aef348b59e48669d056814d470bad9 Mon Sep 17 00:00:00 2001 From: PikaMug <2267126+PikaMug@users.noreply.github.com> Date: Fri, 10 Mar 2023 18:14:28 -0500 Subject: [PATCH] Update NPC ID-related exception messages --- core/src/main/java/me/blackvein/quests/Quests.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/src/main/java/me/blackvein/quests/Quests.java b/core/src/main/java/me/blackvein/quests/Quests.java index 881ee6af4..46f2168ed 100644 --- a/core/src/main/java/me/blackvein/quests/Quests.java +++ b/core/src/main/java/me/blackvein/quests/Quests.java @@ -3116,7 +3116,7 @@ public class Quests extends JavaPlugin implements QuestsAPI { questNpcUuids.add(uuid); } } else { - throw new StageFormatException("npc-ids-to-talk-to is not a list of numbers", quest, stageNum); + throw new StageFormatException("npc-uuids-to-talk-to is not a list of numbers", quest, stageNum); } } else if (config.contains("quests." + questKey + ".stages.ordered." + stageNum + ".npc-ids-to-talk-to")) { // Legacy @@ -3176,7 +3176,7 @@ public class Quests extends JavaPlugin implements QuestsAPI { } } } else { - throw new StageFormatException("npc-delivery-ids is not a list of numbers", quest, stageNum); + throw new StageFormatException("npc-delivery-uuids is not a list of numbers", quest, stageNum); } } else if (config.contains("quests." + questKey + ".stages.ordered." + stageNum + ".npc-delivery-ids")) { @@ -3225,7 +3225,7 @@ public class Quests extends JavaPlugin implements QuestsAPI { throw new StageFormatException("npc-delivery-ids is not a list of numbers", quest, stageNum); } } else { - throw new StageFormatException("npc-delivery-id is missing", quest, stageNum); + throw new StageFormatException("npc-delivery-uuid is missing", quest, stageNum); } } if (config.contains("quests." + questKey + ".stages.ordered." + stageNum + ".npc-uuids-to-kill")) {