Cleanup
This commit is contained in:
parent
da661af41c
commit
c61e4c116b
2 changed files with 4 additions and 3 deletions
|
@ -84,6 +84,7 @@ public abstract class DynamicNetwork<A, N extends DynamicNetwork<A, N>> implemen
|
|||
for(Entry<IGridTransmitter<A, N>, EnumSet<ForgeDirection>> entry : changedAcceptors.entrySet())
|
||||
{
|
||||
IGridTransmitter<A, N> transmitter = entry.getKey();
|
||||
|
||||
if(transmitter.isValid())
|
||||
{
|
||||
EnumSet<ForgeDirection> directionsChanged = entry.getValue();
|
||||
|
@ -128,8 +129,7 @@ public abstract class DynamicNetwork<A, N extends DynamicNetwork<A, N>> implemen
|
|||
acceptorDirections.remove(acceptorCoord);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
else {
|
||||
possibleAcceptors.remove(acceptorCoord);
|
||||
acceptorDirections.remove(acceptorCoord);
|
||||
}
|
||||
|
@ -137,7 +137,6 @@ public abstract class DynamicNetwork<A, N extends DynamicNetwork<A, N>> implemen
|
|||
|
||||
}
|
||||
|
||||
|
||||
public abstract void absorbBuffer(IGridTransmitter<A, N> transmitter);
|
||||
|
||||
public abstract void clampBuffer();
|
||||
|
|
|
@ -108,6 +108,7 @@ public class TransmitterNetworkRegistry
|
|||
{
|
||||
logger.debug("Dealing with " + invalidTransmitters.size() + " invalid Transmitters");
|
||||
}
|
||||
|
||||
for(IGridTransmitter invalid : invalidTransmitters)
|
||||
{
|
||||
if(!invalid.isOrphan())
|
||||
|
@ -119,6 +120,7 @@ public class TransmitterNetworkRegistry
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
invalidTransmitters.clear();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue