Examples of changeCountWithoutTrace()


Examples of net.sf.l2j.gameserver.model.L2ItemInstance.changeCountWithoutTrace()

    // 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)
        {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.