mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 22:44:36 +02:00
fixed crash on updating controller for npcs
- fixed updating player movement
This commit is contained in:
parent
62055eff04
commit
e56238a10c
4 changed files with 8 additions and 5 deletions
|
@ -152,7 +152,8 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
{
|
||||
updateMs = 150;
|
||||
}
|
||||
if (hasMoved && diffTime.Milliseconds >= updateMs)
|
||||
|
||||
if (hasMoved && ((this is Player ) || diffTime.Milliseconds >= updateMs))
|
||||
{
|
||||
hasMoved = (this.positionUpdates != null && this.positionUpdates.Count > 0);
|
||||
if (hasMoved)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue