|
|
@ -136,9 +136,6 @@ public class MovementUtilities { |
|
|
|
|
|
|
|
|
|
|
|
public static boolean canMove(Mob agent) { |
|
|
|
public static boolean canMove(Mob agent) { |
|
|
|
|
|
|
|
|
|
|
|
if(agent.isMoving()) |
|
|
|
|
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (agent.getMobBase() != null && Enum.MobFlagType.SENTINEL.elementOf(agent.getMobBase().getFlags())) |
|
|
|
if (agent.getMobBase() != null && Enum.MobFlagType.SENTINEL.elementOf(agent.getMobBase().getFlags())) |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
|
|
|
|
|
|
|
|