Examples of takeItemByObj()


Examples of l2p.gameserver.model.items.Warehouse.takeItemByObj()

      _log.warning("Error retrieving a warehouse object for char " + activeChar.getName() + " - using warehouse type: " + activeChar.getUsingWarehouseType());
      return;
    }
    for(int i = 0; i < olditems.length; i++)
    {
      L2ItemInstance TransferItem = warehouse.takeItemByObj(olditems[i], counts[i]);
      if(TransferItem == null)
      {
        _log.warning("Error getItem from warhouse player: " + activeChar.getName());
      }
      activeChar.getInventory().addItem(TransferItem);
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.