From 3e2086c5722a24f87171d0fd08663b3ef96f8f75 Mon Sep 17 00:00:00 2001 From: _OfTeN_ Date: Sat, 29 Oct 2022 15:56:13 +0300 Subject: [PATCH] Fixed EnchantGUI custom slots not working --- .../main/kotlin/com/willfp/ecoenchants/enchants/EnchantGUI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EnchantGUI.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EnchantGUI.kt index aa6fda4f..8bf2570b 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EnchantGUI.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/enchants/EnchantGUI.kt @@ -135,7 +135,7 @@ object EnchantGUI { .push() } - for (config in plugin.configYml.getSubsections("level-gui.custom-slots")) { + for (config in plugin.configYml.getSubsections("enchant-gui.custom-slots")) { setSlot( config.getInt("row"), config.getInt("column"),