Examples of tryEquipItem()


Examples of l2p.gameserver.model.instances.L2PetInstance.tryEquipItem()

    if(activeChar.isAlikeDead() || pet.isDead())
    {
      activeChar.sendPacket(new SystemMessage(SystemMessage.S1_CANNOT_BE_USED_DUE_TO_UNSUITABLE_TERMS).addItemName(item.getItemId()));
      return;
    }
    if(pet.tryEquipItem(item, true))
    {
      return;
    }
    // manual pet feeding
    if(pet.tryFeedItem(item))
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.