From 051388570a51923ab3a0c522c4d2b7035a1b4822 Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Fri, 8 Mar 2024 20:30:17 +0100 Subject: [PATCH] Fix negative attack speed --- .../java/de/ellpeck/actuallyadditions/mod/items/DrillItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/items/DrillItem.java b/src/main/java/de/ellpeck/actuallyadditions/mod/items/DrillItem.java index 961adf236..75cbedebf 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/items/DrillItem.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/items/DrillItem.java @@ -201,7 +201,7 @@ public class DrillItem extends ItemEnergy { map.put(Attributes.ATTACK_DAMAGE, new AttributeModifier("Drill Modifier", this.getEnergyStored(stack) >= ENERGY_USE ? 8.0F : 0.1F, AttributeModifier.Operation.ADDITION)); - map.put(Attributes.ATTACK_SPEED, new AttributeModifier("Tool Modifier", -2.5F, AttributeModifier.Operation.ADDITION)); + map.put(Attributes.ATTACK_SPEED, new AttributeModifier("Tool Modifier", 1.5F, AttributeModifier.Operation.ADDITION)); } return map;