Send item list when adding new adena instance.
This commit is contained in:
@ -3291,9 +3291,16 @@ public class Player extends Playable
|
||||
// Send update packet
|
||||
if (!Config.FORCE_INVENTORY_UPDATE)
|
||||
{
|
||||
final InventoryUpdate iu = new InventoryUpdate();
|
||||
iu.addItem(_inventory.getAdenaInstance());
|
||||
sendPacket(iu);
|
||||
if (count == getAdena())
|
||||
{
|
||||
sendPacket(new ItemList(this, false));
|
||||
}
|
||||
else
|
||||
{
|
||||
final InventoryUpdate iu = new InventoryUpdate();
|
||||
iu.addModifiedItem(_inventory.getAdenaInstance());
|
||||
sendPacket(iu);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user