diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityLaserRelayEnergy.java b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityLaserRelayEnergy.java index ebb878e29..191a7bb18 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityLaserRelayEnergy.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/tile/TileEntityLaserRelayEnergy.java @@ -218,9 +218,11 @@ public class TileEntityLaserRelayEnergy extends TileEntityLaserRelay { if (deduct >= theoreticalReceived) { //Happens with small numbers deduct = 0; } - - trans += cap.receiveEnergy(theoreticalReceived - deduct, simulate); - trans += deduct; + int actual = cap.receiveEnergy(theoreticalReceived - deduct, simulate); + if (actual > 0) { + trans += actual; + trans += deduct; + } } return trans;