mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-23 15:20:52 +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);
|
this.walker.setGoalLocation(this.goalTile);
|
||||||
|
|
||||||
if (this.walker.getPath().isEmpty())
|
if (this.walker.getPath().isEmpty() && this.failedReached != null)
|
||||||
{
|
{
|
||||||
for(Runnable r : this.failedReached)
|
for(Runnable r : this.failedReached)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user