mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-26 22:57:45 +00:00
Fixed the refresh not sending inv change packets.
This commit is contained in:
parent
127ac15936
commit
1e9d61c838
1 changed files with 6 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
using FFXIVClassic_Map_Server.Actors;
|
using FFXIVClassic_Map_Server.Actors;
|
||||||
|
using FFXIVClassic_Map_Server.packets.send.actor.inventory;
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
|
@ -230,7 +231,12 @@ namespace FFXIVClassic_Map_Server.dataobjects
|
||||||
Database.SetQuantity(uniqueId, this.quantity);
|
Database.SetQuantity(uniqueId, this.quantity);
|
||||||
|
|
||||||
if (owner != null && owner is Player)
|
if (owner != null && owner is Player)
|
||||||
|
{
|
||||||
|
|
||||||
|
((Player)owner).QueuePacket(InventoryBeginChangePacket.BuildPacket(owner.actorId, false));
|
||||||
owner.GetItemPackage(itemPackage).RefreshItem((Player)owner, this);
|
owner.GetItemPackage(itemPackage).RefreshItem((Player)owner, this);
|
||||||
|
((Player)owner).QueuePacket(InventoryEndChangePacket.BuildPacket(owner.actorId));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue