Package lineage2.gameserver.model.items

Examples of lineage2.gameserver.model.items.ItemInstance.canBeDestroyed()


    if ((pet != null) && (pet.getControlItemObjId() == item.getObjectId()))
    {
      activeChar.sendPacket(Msg.THE_PET_HAS_BEEN_SUMMONED_AND_CANNOT_BE_DELETED);
      return;
    }
    if (!activeChar.isGM() && !item.canBeDestroyed(activeChar))
    {
      activeChar.sendPacket(Msg.THIS_ITEM_CANNOT_BE_DISCARDED);
      return;
    }
    if (_count > item.getCount())
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.