From f492ff7ee9e9392917af6935a0a25786ca7e00fa Mon Sep 17 00:00:00 2001 From: Aidan Brady Date: Tue, 3 Dec 2013 16:57:57 -0500 Subject: [PATCH] Hopefully fixed ENet crash with IC2 --- common/mekanism/common/EnergyNetwork.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/mekanism/common/EnergyNetwork.java b/common/mekanism/common/EnergyNetwork.java index 840e3420e..4d0f3d995 100644 --- a/common/mekanism/common/EnergyNetwork.java +++ b/common/mekanism/common/EnergyNetwork.java @@ -176,6 +176,11 @@ public class EnergyNetwork extends DynamicNetwork double currentSending = sending+remaining; ForgeDirection side = acceptorDirections.get(acceptor); + if(side == null) + { + continue; + } + remaining = 0; if(acceptor instanceof IStrictEnergyAcceptor)