984985986987988989990991992993994
private void sendModifyItem(L2ItemInstance item) { if(getOwner().isPet()) { getOwner().getPlayer().sendPacket(new PetInventoryUpdate().addModifiedItem(item)); } else { getOwner().sendPacket(new InventoryUpdate().addModifiedItem(item)); }
9969979989991000100110021003100410051006
private void sendRemoveItem(L2ItemInstance item) { if(getOwner().isPet()) { getOwner().getPlayer().sendPacket(new PetInventoryUpdate().addRemovedItem(item)); } else { getOwner().sendPacket(new InventoryUpdate().addRemovedItem(item)); }
10081009101010111012101310141015101610171018
private void sendNewItem(L2ItemInstance item) { if(getOwner().isPet()) { getOwner().getPlayer().sendPacket(new PetInventoryUpdate().addNewItem(item)); } else { getOwner().sendPacket(new InventoryUpdate().addNewItem(item)); }