forked from MagicBane/Server
Workorders cleared with hireling removal.
This commit is contained in:
@@ -68,8 +68,9 @@ public class MovementUtilities {
|
||||
float zoneRange = 250;
|
||||
|
||||
if (agent.getParentZone() != null) {
|
||||
if (agent.getParentZone().bounds != null)
|
||||
if (agent.getParentZone().bounds != null) {
|
||||
zoneRange = agent.getParentZone().bounds.getHalfExtents().x * 2;
|
||||
}
|
||||
}
|
||||
|
||||
if (zoneRange > 300)
|
||||
|
||||
Reference in New Issue
Block a user