mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-01-18 23:46:28 +01:00
Fix a NullPointerException in RoomUnitWalkToRoomUnit
This commit is contained in:
parent
0fbebc5ac8
commit
e15ea51c63
@ -108,7 +108,7 @@ public class RoomUnitWalkToRoomUnit implements Runnable
|
||||
|
||||
this.walker.setGoalLocation(this.goalTile);
|
||||
|
||||
if (this.walker.getPath().isEmpty())
|
||||
if (this.walker.getPath().isEmpty() && this.failedReached != null)
|
||||
{
|
||||
for(Runnable r : this.failedReached)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user