From 234dcf05213c0c4ed1d32a794d72fd2b246801b2 Mon Sep 17 00:00:00 2001 From: opekope2 Date: Tue, 16 Jan 2024 22:33:29 +0100 Subject: [PATCH] Rename default attribute modifiers constant --- .../kotlin/opekope2/avm_staff/api/item/StaffItemHandler.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/StaffMod/src/main/kotlin/opekope2/avm_staff/api/item/StaffItemHandler.kt b/StaffMod/src/main/kotlin/opekope2/avm_staff/api/item/StaffItemHandler.kt index 8c9ba0624..ff63ebddf 100644 --- a/StaffMod/src/main/kotlin/opekope2/avm_staff/api/item/StaffItemHandler.kt +++ b/StaffMod/src/main/kotlin/opekope2/avm_staff/api/item/StaffItemHandler.kt @@ -366,12 +366,12 @@ abstract class StaffItemHandler { staffStack: ItemStack, slot: EquipmentSlot ): Multimap { - return if (slot == EquipmentSlot.MAINHAND) DEFAULT_ATTRIBUTE_MODIFIERS + return if (slot == EquipmentSlot.MAINHAND) ATTRIBUTE_MODIFIERS else ImmutableMultimap.of() } companion object { - private val DEFAULT_ATTRIBUTE_MODIFIERS = ImmutableMultimap.of( + private val ATTRIBUTE_MODIFIERS = ImmutableMultimap.of( EntityAttributes.GENERIC_ATTACK_DAMAGE, attackDamage(4.0), EntityAttributes.GENERIC_ATTACK_SPEED,