From 9ebb334c58cf17132b827007bd2451e225d2cb85 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 6 Feb 2019 23:51:33 +0100 Subject: [PATCH] made tool repair actually drain aura lol --- src/main/java/de/ellpeck/naturesaura/Helper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/naturesaura/Helper.java b/src/main/java/de/ellpeck/naturesaura/Helper.java index ae8163da..ecc8eb22 100644 --- a/src/main/java/de/ellpeck/naturesaura/Helper.java +++ b/src/main/java/de/ellpeck/naturesaura/Helper.java @@ -167,7 +167,7 @@ public final class Helper { return new ICapabilityProvider() { private final IAuraRecharge recharge = (container, containerSlot, itemSlot, isSelected) -> { if (isSelected || !needsSelected) { - int toDrain = 3; + int toDrain = 300; if (stack.getItemDamage() > 0 && container.drainAura(toDrain, true) >= toDrain) { stack.setItemDamage(stack.getItemDamage() - 1); container.drainAura(toDrain, false);