649650651652653654655656657658659
} if (actor.isInRange(target, 30) && (Math.abs(actor.getZ() - target.getZ()) < 50)) { if (actor.isPlayer() || actor.isPet()) { actor.doPickupItem(target); } setIntention(AI_INTENTION_ACTIVE); } else {