|
@@ -1567,7 +1567,7 @@ public abstract class Inventory extends ItemContainer
|
|
|
|
|
|
// If stackable item is found in inventory just add to current quantity
|
|
|
if (item.isStackable() && getItemByItemId(item.getItemId()) != null)
|
|
|
- addItem("Restore", item, null, getOwner());
|
|
|
+ addItem("Restore", item, getOwner().getActingPlayer(), null);
|
|
|
else
|
|
|
addItem(item);
|
|
|
}
|