mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-12 03:37:27 +07:00
Probable crash fix
This commit is contained in:
parent
6c3b449f74
commit
ee043e67a4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user