1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-20 03:37:48 +00:00

Fixed Issue #3 (Items are being shifted for linked items). Sending the updated equipment packet.

This commit is contained in:
Filip Maj 2019-05-08 13:18:53 -04:00
parent b955c38a2a
commit d673670604

View file

@ -597,7 +597,11 @@ namespace FFXIVClassic_Map_Server.actors.chara.player
//Send Remove packets for tail end
SendInventoryRemovePackets(player, slotsToRemove);
player.QueuePacket(InventorySetEndPacket.BuildPacket(owner.actorId));
player.QueuePacket(InventoryEndChangePacket.BuildPacket(owner.actorId));
//If player is updating their normal inventory, we need to send
//an equip update as well to resync the slots.
if (player.Equals(owner) && itemPackageCode == NORMAL)
player.GetEquipment().SendFullEquipment(true);
player.QueuePacket(InventoryEndChangePacket.BuildPacket(owner.actorId));
}
public void StartSendUpdate()