From eb1cb9966bc91cdb9497d52c28e7dd551aaa053c Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 3 Jun 2023 15:35:40 +0100 Subject: [PATCH] Changed name placeholder --- .../main/kotlin/com/willfp/ecoenchants/enchants/EcoEnchant.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EcoEnchant.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EcoEnchant.kt index 64df71f5..57858737 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EcoEnchant.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EcoEnchant.kt @@ -133,7 +133,7 @@ abstract class EcoEnchant( ) PlayerlessPlaceholder(plugin, "${id}_name") { - displayName + this.getFormattedName(0, false) }.register() conditions = Conditions.compile(