// Adjust item quantity
if (item.getCount() > count)
{
synchronized (item)
{
item.changeCountWithoutTrace(process, -count, this, reference);
item.setLastChange(L2ItemInstance.MODIFIED);
// could do also without saving, but let's save approx 1 of 10
if ((GameTimeController.getGameTicks() % 10) == 0)
{