From 623d148c5350ae04aafde4bb5a0f860cf46a012c Mon Sep 17 00:00:00 2001 From: Auxilor Date: Tue, 6 Sep 2022 11:56:51 +0100 Subject: [PATCH] Fixed armor / hands slots --- .../kotlin/com/willfp/ecoenchants/target/EnchantmentTarget.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/target/EnchantmentTarget.kt b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/target/EnchantmentTarget.kt index 7497fb6a..b08454da 100644 --- a/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/target/EnchantmentTarget.kt +++ b/eco-core/core-plugin/src/main/kotlin/com/willfp/ecoenchants/target/EnchantmentTarget.kt @@ -73,12 +73,12 @@ enum class TargetSlot( HANDS({ listOf( it.inventory.heldItemSlot, - 45 + 40 ) }), ARMOR({ - listOf(5, 6, 7, 8) + (36..39).toList() }), ANY({