Probable crash fix

This commit is contained in:
Anuken 2018-11-13 22:43:10 -05:00
parent 6c3b449f74
commit ee043e67a4

View File

@ -94,7 +94,7 @@ public class PowerGraph{
public void clear(){
for(Tile other : all){
other.entity.power.graph = null;
if(other.entity != null && other.entity.power != null) other.entity.power.graph = null;
}
all.clear();
producers.clear();