Package lineage2.gameserver.model.instances

Examples of lineage2.gameserver.model.instances.PetInstance.tryFeedItem()


    if (activeChar.isAlikeDead() || pet.isDead() || pet.isOutOfControl())
    {
      activeChar.sendPacket(new SystemMessage(SystemMessage.S1_CANNOT_BE_USED_DUE_TO_UNSUITABLE_TERMS).addItemName(item.getItemId()));
      return;
    }
    if (pet.tryFeedItem(item))
    {
      return;
    }
    if (ArrayUtils.contains(Config.ALT_ALLOWED_PET_POTIONS, item.getItemId()))
    {
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.