mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 11:47:48 +00:00
Fixed Issue #3 (Items are being shifted for linked items). Sending the updated equipment packet.
This commit is contained in:
parent
b955c38a2a
commit
d673670604
1 changed files with 5 additions and 1 deletions
|
@ -597,6 +597,10 @@ namespace FFXIVClassic_Map_Server.actors.chara.player
|
||||||
//Send Remove packets for tail end
|
//Send Remove packets for tail end
|
||||||
SendInventoryRemovePackets(player, slotsToRemove);
|
SendInventoryRemovePackets(player, slotsToRemove);
|
||||||
player.QueuePacket(InventorySetEndPacket.BuildPacket(owner.actorId));
|
player.QueuePacket(InventorySetEndPacket.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));
|
player.QueuePacket(InventoryEndChangePacket.BuildPacket(owner.actorId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue