From c1ce9e40040bb2c217c46674fb42a82e5259089d Mon Sep 17 00:00:00 2001 From: Auxilor Date: Thu, 18 May 2023 17:12:53 +0100 Subject: [PATCH] Changed default slot to mainhadn --- .../src/main/kotlin/com/willfp/ecoitems/slot/ItemSlots.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoitems/slot/ItemSlots.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoitems/slot/ItemSlots.kt index 11cb3e5..b43ce37 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoitems/slot/ItemSlots.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoitems/slot/ItemSlots.kt @@ -13,7 +13,7 @@ import com.willfp.ecoitems.slot.impl.ItemSlotOffhand object ItemSlots : Registry() { fun getByID(id: String?): ItemSlot { if (id == null) { - return ItemSlotHands // Legacy + return ItemSlotMainhand // Legacy } return get(id) ?: ItemSlotMainhand