Fixed spawning being broken.

This commit is contained in:
Filip Maj 2017-06-27 21:30:32 -04:00
parent 3370309dd0
commit ab3e152b7d
3 changed files with 14 additions and 12 deletions

View file

@ -136,17 +136,14 @@ namespace FFXIVClassic_Map_Server.dataobjects
if (actor is Character && ((Character)actor).isStatic)
continue;
GetActor().QueuePacket(actor.CreatePositionUpdatePacket());
QueuePacket(actor.CreatePositionUpdatePacket());
}
else
{
if (actor is Player)
GetActor().QueuePacket(actor.GetSpawnPackets(playerActor, 1));
else
GetActor().QueuePacket(actor.GetSpawnPackets(1));
{
QueuePacket(actor.GetSpawnPackets(playerActor, 1));
GetActor().QueuePacket(actor.GetInitPackets());
GetActor().QueuePacket(actor.GetSetEventStatusPackets());
QueuePacket(actor.GetInitPackets());
QueuePacket(actor.GetSetEventStatusPackets());
actorInstanceList.Add(actor);
if (actor is Npc)