Changed default slot to mainhadn
This commit is contained in:
@@ -13,7 +13,7 @@ import com.willfp.ecoitems.slot.impl.ItemSlotOffhand
|
|||||||
object ItemSlots : Registry<ItemSlot>() {
|
object ItemSlots : Registry<ItemSlot>() {
|
||||||
fun getByID(id: String?): ItemSlot {
|
fun getByID(id: String?): ItemSlot {
|
||||||
if (id == null) {
|
if (id == null) {
|
||||||
return ItemSlotHands // Legacy
|
return ItemSlotMainhand // Legacy
|
||||||
}
|
}
|
||||||
|
|
||||||
return get(id) ?: ItemSlotMainhand
|
return get(id) ?: ItemSlotMainhand
|
||||||
|
|||||||
Reference in New Issue
Block a user