mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
fixed an issue causing client to crash
This commit is contained in:
parent
e56238a10c
commit
100f3ae156
@ -152,8 +152,8 @@ namespace FFXIVClassic_Map_Server.Actors
|
|||||||
isStatic = true;
|
isStatic = true;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
charaWork.property[2] = 1;
|
//charaWork.property[2] = 1;
|
||||||
npcWork.hateType = 1;
|
//npcWork.hateType = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (lParams == null)
|
if (lParams == null)
|
||||||
|
@ -136,7 +136,7 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
|||||||
{
|
{
|
||||||
//Don't send for static characters (npcs)
|
//Don't send for static characters (npcs)
|
||||||
// todo: this is retarded, need actual mob class
|
// todo: this is retarded, need actual mob class
|
||||||
if (actor is Character && !actor.hasMoved)
|
if (actor is Character && ((Character)actor).isStatic)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
var packet = actor.CreatePositionUpdatePacket(playerActor.actorId);
|
var packet = actor.CreatePositionUpdatePacket(playerActor.actorId);
|
||||||
|
Loading…
Reference in New Issue
Block a user