mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-26 05:08:34 +01:00
made tool repair actually drain aura lol
This commit is contained in:
parent
36a18247b6
commit
9ebb334c58
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue