diff --git a/src/main/java/techreborn/items/BatteryItem.java b/src/main/java/techreborn/items/BatteryItem.java index a94a20152..cd39b32ad 100644 --- a/src/main/java/techreborn/items/BatteryItem.java +++ b/src/main/java/techreborn/items/BatteryItem.java @@ -82,7 +82,7 @@ public class BatteryItem extends Item implements EnergyHolder, ItemDurabilityExt return; } if (entity instanceof PlayerEntity) { - ItemUtils.distributePowerToInventory((PlayerEntity) entity, stack, tier.getMaxOutput()); + ItemUtils.distributePowerToInventory((PlayerEntity) entity, stack, tier.getMaxOutput(), (testStack) -> !(testStack.getItem() instanceof BatteryItem)); } }