Hopefully fixed ENet crash with IC2
This commit is contained in:
parent
afe85f9215
commit
f492ff7ee9
1 changed files with 5 additions and 0 deletions
|
@ -176,6 +176,11 @@ public class EnergyNetwork extends DynamicNetwork<TileEntity, EnergyNetwork>
|
||||||
double currentSending = sending+remaining;
|
double currentSending = sending+remaining;
|
||||||
ForgeDirection side = acceptorDirections.get(acceptor);
|
ForgeDirection side = acceptorDirections.get(acceptor);
|
||||||
|
|
||||||
|
if(side == null)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
remaining = 0;
|
remaining = 0;
|
||||||
|
|
||||||
if(acceptor instanceof IStrictEnergyAcceptor)
|
if(acceptor instanceof IStrictEnergyAcceptor)
|
||||||
|
|
Loading…
Reference in a new issue