Initial work on machine explosions, I will need to update the API to allow finer control over what explodes

This commit is contained in:
modmuss50 2016-03-08 13:20:14 +00:00
parent 58b202a782
commit 0de43bfe2d
2 changed files with 12 additions and 9 deletions

View file

@ -382,7 +382,10 @@ public abstract class CableMultipart extends Multipart implements IOccludingPart
}
public final void resetNetwork() {
network.removeElement(this);
if(network != null){
network.removeElement(this);
}
network = null;
}