ConcurrentHashMaps don't like null keys
This commit is contained in:
parent
122f4190bd
commit
7e08643ebd
1 changed files with 4 additions and 1 deletions
|
@ -73,7 +73,10 @@ public abstract class DynamicNetwork<A, N extends DynamicNetwork<A, N>> implemen
|
|||
if(acceptor.getTileEntity(getWorld()) == null || acceptor.getTileEntity(getWorld()).isInvalid() || transmitter.canConnectToAcceptor(side, true))
|
||||
{
|
||||
possibleAcceptors.remove(acceptor);
|
||||
acceptorDirections.remove(acceptor.getTileEntity(getWorld()));
|
||||
if(acceptor.getTileEntity(getWorld()) != null)
|
||||
{
|
||||
acceptorDirections.remove(acceptor.getTileEntity(getWorld()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue