Changed default slot to mainhadn

This commit is contained in:
Auxilor
2023-05-18 17:12:53 +01:00
parent 94d5aa5f86
commit c1ce9e4004

View File

@@ -13,7 +13,7 @@ import com.willfp.ecoitems.slot.impl.ItemSlotOffhand
object ItemSlots : Registry<ItemSlot>() {
fun getByID(id: String?): ItemSlot {
if (id == null) {
return ItemSlotHands // Legacy
return ItemSlotMainhand // Legacy
}
return get(id) ?: ItemSlotMainhand