fix for mob sync and ghost mobs

This commit is contained in:
2023-07-19 18:27:10 -05:00
parent 07c64f9b46
commit aa0067c117
2 changed files with 7 additions and 3 deletions
+4 -1
View File
@@ -377,7 +377,10 @@ public class MobileFSM {
if (mob.combatTarget != null && mob.combatTarget.isAlive() == false) {
mob.setCombatTarget(null);
}
mob.updateLocation();
//mob.updateLocation();
if(mob.isMoving()){
mob.setLoc(mob.getMovementLoc());
}
switch (mob.BehaviourType) {
case GuardCaptain:
GuardCaptainLogic(mob);