From a82c96b60d6a78644d0b74ae4f494a5653d9484d Mon Sep 17 00:00:00 2001 From: Krakenied Date: Sun, 2 Jun 2024 09:42:14 +0200 Subject: [PATCH] Fix locked-display --- .../leonardobishop/quests/bukkit/config/BukkitQuestsLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bukkit/src/main/java/com/leonardobishop/quests/bukkit/config/BukkitQuestsLoader.java b/bukkit/src/main/java/com/leonardobishop/quests/bukkit/config/BukkitQuestsLoader.java index aa5dc0db..15513ff6 100644 --- a/bukkit/src/main/java/com/leonardobishop/quests/bukkit/config/BukkitQuestsLoader.java +++ b/bukkit/src/main/java/com/leonardobishop/quests/bukkit/config/BukkitQuestsLoader.java @@ -383,7 +383,7 @@ public FileVisitResult visitFile(Path path, BasicFileAttributes attributes) { questManager.registerQuest(quest); taskTypeManager.registerQuestTasksWithTaskTypes(quest); qItemStackRegistry.register(quest, displayItem); - if (config.isConfigurationSection("options.started-display")) { + if (config.isConfigurationSection("options.locked-display")) { qItemStackRegistry.registerQuestLocked(quest, plugin.getItemGetter().getItem("options.locked-display", config)); }