Skip to content

Commit

Permalink
Fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
buthed010203 committed Oct 9, 2024
1 parent 9027fad commit 3957fa4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/mindustry/client/navigation/BuildPath.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ public void clearQueues() {

@Override
public void follow() {
if (player.core() == null) return;

var core = player.core();
if (timer.get(delay) && core != null) {
if (mineItems != null) {
Expand Down

0 comments on commit 3957fa4

Please sign in to comment.