Fixed tests

This commit is contained in:
Anuken 2024-11-25 14:32:16 -05:00
parent a17dea0acf
commit ce3a6e5299

View File

@ -293,7 +293,9 @@ public class Tile implements Position, QuadTreeObject, Displayable{
if(build != null){
build.onProximityUpdate();
}
pathfinder.updateTile(this);
if(!world.isGenerating() && pathfinder != null){
pathfinder.updateTile(this);
}
}
public boolean isEditorTile(){