Send item back to the client when the item get damage.
This commit is contained in:
parent
fbb6404cc8
commit
10e3c262db
@ -376,6 +376,7 @@ bool cInventory::DamageItem(int a_SlotNum, short a_Amount)
|
||||
if (!Grid->DamageItem(GridSlotNum, a_Amount))
|
||||
{
|
||||
// The item has been damaged, but did not break yet
|
||||
SendSlot(a_SlotNum);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user