Send item list when adding new adena instance.

This commit is contained in:
MobiusDevelopment
2022-06-26 01:38:49 +00:00
parent 69127af274
commit 0500945790
28 changed files with 98 additions and 84 deletions

View File

@ -3041,16 +3041,16 @@ public class Player extends Playable
// Send update packet
if (!Config.FORCE_INVENTORY_UPDATE)
{
final InventoryUpdate iu = new InventoryUpdate();
if (count == getAdena())
{
iu.addNewItem(_inventory.getAdenaInstance());
sendItemList(false);
}
else
{
final InventoryUpdate iu = new InventoryUpdate();
iu.addModifiedItem(_inventory.getAdenaInstance());
sendInventoryUpdate(iu);
}
sendInventoryUpdate(iu);
}
else
{