From 2ba17ae22ced98bff443b75c398e68c99f02867e Mon Sep 17 00:00:00 2001 From: Robert Date: Thu, 26 Dec 2013 14:10:42 -0500 Subject: [PATCH] Removed mem requirement from shared power network --- .../minecraft/tilenetwork/prefab/NetworkSharedPower.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/builtbroken/minecraft/tilenetwork/prefab/NetworkSharedPower.java b/src/com/builtbroken/minecraft/tilenetwork/prefab/NetworkSharedPower.java index f7a808eda..8735e0e5b 100644 --- a/src/com/builtbroken/minecraft/tilenetwork/prefab/NetworkSharedPower.java +++ b/src/com/builtbroken/minecraft/tilenetwork/prefab/NetworkSharedPower.java @@ -28,7 +28,7 @@ public class NetworkSharedPower extends NetworkTileEntities implements IPowerLes public long addPower(TileEntity entity, long receive, boolean doReceive) { - if (this.networkMembers.contains(entity) && !this.runPowerLess() && receive > 0) + if (!this.runPowerLess() && receive > 0) { long prevEnergyStored = this.getEnergy(); long newStoredEnergy = Math.min(this.getEnergy() + receive, this.getEnergyCapacity()); @@ -45,7 +45,7 @@ public class NetworkSharedPower extends NetworkTileEntities implements IPowerLes public long removePower(TileEntity entity, long request, boolean doExtract) { - if (this.networkMembers.contains(entity) && request > 0) + if (request > 0) { long requestedEnergy = Math.min(request, this.getEnergy()); if (doExtract)