Send modified item inventory update with checkAndEquipAmmunition method.
This commit is contained in:
@ -5783,11 +5783,14 @@ public class PlayerInstance extends Playable
|
||||
{
|
||||
arrows = _inventory.findBoltForCrossBow(weapon);
|
||||
}
|
||||
|
||||
// Equip arrows needed in left hand.
|
||||
if (arrows != null)
|
||||
{
|
||||
// Equip arrows needed in left hand
|
||||
_inventory.setPaperdollItem(Inventory.PAPERDOLL_LHAND, arrows);
|
||||
sendItemList(false);
|
||||
final InventoryUpdate iu = new InventoryUpdate();
|
||||
iu.addModifiedItem(arrows);
|
||||
sendInventoryUpdate(iu);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user