remove movement sync

This commit is contained in:
2023-07-25 21:19:17 -05:00
parent 43090a9bd1
commit 6761ec7361
2 changed files with 9 additions and 9 deletions
+8 -8
View File
@@ -384,15 +384,15 @@ public class MobileFSM {
if (mob.combatTarget != null && mob.combatTarget.isAlive() == false) {
mob.setCombatTarget(null);
}
mob.updateLocation();
if(mob.getTimestamps().containsKey("MOVEMENTSYNC") == false){
mob.getTimestamps().put("MOVEMENTSYNC",System.currentTimeMillis());
}
if(mob.getTimeStamp("MOVEMENTSYNC") < System.currentTimeMillis() + 1000){
mob.getTimestamps().put("MOVEMENTSYNC",System.currentTimeMillis());
//mob.updateLocation();
//if(mob.getTimestamps().containsKey("MOVEMENTSYNC") == false){
// mob.getTimestamps().put("MOVEMENTSYNC",System.currentTimeMillis());
//}
//if(mob.getTimeStamp("MOVEMENTSYNC") < System.currentTimeMillis() + 1000){
// mob.getTimestamps().put("MOVEMENTSYNC",System.currentTimeMillis());
mob.setLoc(mob.getMovementLoc());
}
// mob.setLoc(mob.getMovementLoc());
//}
switch (mob.BehaviourType) {
case GuardCaptain:
GuardCaptainLogic(mob);