fix for mob sync and ghost mobs

This commit is contained in:
FatBoy committed 2023-07-19 18:27:10 -05:00
1 parent 07c64f9b46
commit aa0067c117
2 files changed
+7 -3

No files matched your search

+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);