From d89a50b33b929bfd92f912c483ee0c00644b3f59 Mon Sep 17 00:00:00 2001 From: Auxilor Date: Thu, 10 Aug 2023 17:40:53 +0100 Subject: [PATCH] Fixed --- .../com/willfp/ecoquests/gui/components/QuestInfoComponent.kt | 4 ++-- eco-core/core-plugin/src/main/resources/config.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoquests/gui/components/QuestInfoComponent.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoquests/gui/components/QuestInfoComponent.kt index 7911224..86702aa 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoquests/gui/components/QuestInfoComponent.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoquests/gui/components/QuestInfoComponent.kt @@ -16,8 +16,8 @@ class QuestInfoComponent( private val slot = slot({ player, _ -> baseItem.item.clone().modify { - setDisplayName(config.getString("name").formatEco(player)) - addLoreLines(config.getStrings("lore").formatEco(player)) + setDisplayName(config.getString("name").formatEco(player, formatPlaceholders = true)) + addLoreLines(config.getStrings("lore").formatEco(player, formatPlaceholders = true)) } }) { onLeftClick { player, _, _, _ -> diff --git a/eco-core/core-plugin/src/main/resources/config.yml b/eco-core/core-plugin/src/main/resources/config.yml index 57fbde8..df2f830 100644 --- a/eco-core/core-plugin/src/main/resources/config.yml +++ b/eco-core/core-plugin/src/main/resources/config.yml @@ -37,8 +37,8 @@ gui: name: "&fQuest Book" lore: - "" - - "&fQuests Completed: &f%ecoquests_quests_completed%" - - "&fQuests Active: &f%ecoquests_quests_active%" + - "&7Quests Completed: &f%ecoquests_quests_completed%" + - "&7Quests Active: &f%ecoquests_quests_active%" - "" - "&eClick to view past quests!"