diff --git a/src/engine/jobs/AttackJob.java b/src/engine/jobs/AttackJob.java index 1ad0475d..3de56ecc 100644 --- a/src/engine/jobs/AttackJob.java +++ b/src/engine/jobs/AttackJob.java @@ -36,6 +36,7 @@ public class AttackJob extends AbstractJob { if(pc.combatTarget != null && pc.combatTarget.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)){ PlayerCharacter target = (PlayerCharacter)pc.combatTarget; if(!pc.canSee(target)) { + this._cancelJob(); return; } }