Examples of canPickUp()


Examples of lineage2.gameserver.model.items.attachment.PickableAttachment.canPickUp()

    if (!item.getTemplate().getHandler().pickupItem(player, item))
    {
      return false;
    }
    PickableAttachment attachment = item.getAttachment() instanceof PickableAttachment ? (PickableAttachment) item.getAttachment() : null;
    if ((attachment != null) && !attachment.canPickUp(player))
    {
      return false;
    }
    return true;
  }
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.