diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ActuallyItems.java b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ActuallyItems.java index 249102d24..9d82f4ef7 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/items/ActuallyItems.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/items/ActuallyItems.java @@ -244,7 +244,8 @@ public final class ActuallyItems { for (DeferredHolder holder : ITEMS.getEntries()) { if (holder.get() instanceof ItemEnergy energyItem) { event.registerItem(Capabilities.EnergyStorage.ITEM, (stack, context) -> - new ComponentEnergyStorage(stack, ActuallyComponents.ENERGY_STORAGE.get(), energyItem.maxPower) + new ComponentEnergyStorage(stack, ActuallyComponents.ENERGY_STORAGE.get(), energyItem.maxPower, energyItem.transfer), + energyItem ); } }