From 8fbbc98d3e5977ddde7a9b7049251604779d2c1f Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 28 Aug 2023 15:24:55 +0100 Subject: [PATCH] Cleanup --- .../src/main/kotlin/com/willfp/ecoitems/items/EcoItem.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoitems/items/EcoItem.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoitems/items/EcoItem.kt index ee35d97..820b95d 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoitems/items/EcoItem.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoitems/items/EcoItem.kt @@ -40,7 +40,7 @@ class EcoItem( val slot = if (config.has("slot")) SlotTypes[config.getString("slot")] - else SlotTypes["mainhand"] + else SlotTypes.mainHandSlot // Defensive copy private val _itemStack: ItemStack = run {