mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 17:27:45 +00:00
fixed an issue causing client to crash
This commit is contained in:
parent
e56238a10c
commit
100f3ae156
2 changed files with 3 additions and 3 deletions
|
@ -152,8 +152,8 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||
isStatic = true;
|
||||
else
|
||||
{
|
||||
charaWork.property[2] = 1;
|
||||
npcWork.hateType = 1;
|
||||
//charaWork.property[2] = 1;
|
||||
//npcWork.hateType = 1;
|
||||
}
|
||||
|
||||
if (lParams == null)
|
||||
|
|
|
@ -136,7 +136,7 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
|||
{
|
||||
//Don't send for static characters (npcs)
|
||||
// todo: this is retarded, need actual mob class
|
||||
if (actor is Character && !actor.hasMoved)
|
||||
if (actor is Character && ((Character)actor).isStatic)
|
||||
continue;
|
||||
|
||||
var packet = actor.CreatePositionUpdatePacket(playerActor.actorId);
|
||||
|
|
Loading…
Add table
Reference in a new issue