mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Fixed the refresh not sending inv change packets.
This commit is contained in:
parent
127ac15936
commit
1e9d61c838
@ -1,4 +1,5 @@
|
||||
using FFXIVClassic_Map_Server.Actors;
|
||||
using FFXIVClassic_Map_Server.packets.send.actor.inventory;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
@ -230,7 +231,12 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
||||
Database.SetQuantity(uniqueId, this.quantity);
|
||||
|
||||
if (owner != null && owner is Player)
|
||||
{
|
||||
|
||||
((Player)owner).QueuePacket(InventoryBeginChangePacket.BuildPacket(owner.actorId, false));
|
||||
owner.GetItemPackage(itemPackage).RefreshItem((Player)owner, this);
|
||||
((Player)owner).QueuePacket(InventoryEndChangePacket.BuildPacket(owner.actorId));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user