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 {