Hopefully fixed ENet crash with IC2

This commit is contained in:
Aidan Brady 2013-12-03 16:57:57 -05:00
parent afe85f9215
commit f492ff7ee9

View file

@ -176,6 +176,11 @@ public class EnergyNetwork extends DynamicNetwork<TileEntity, EnergyNetwork>
double currentSending = sending+remaining;
ForgeDirection side = acceptorDirections.get(acceptor);
if(side == null)
{
continue;
}
remaining = 0;
if(acceptor instanceof IStrictEnergyAcceptor)