mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-13 17:27:35 +07:00
Probable crash fix
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user