From 5486f5b2fbbc515c3b6ac97a44e388825f391afc Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 14 May 2017 12:00:00 +1000 Subject: Remove old getLineOfSight --- src/main/java/org/bukkit/entity/LivingEntity.java | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/main') diff --git a/src/main/java/org/bukkit/entity/LivingEntity.java b/src/main/java/org/bukkit/entity/LivingEntity.java index a938b619..12a55934 100644 --- a/src/main/java/org/bukkit/entity/LivingEntity.java +++ b/src/main/java/org/bukkit/entity/LivingEntity.java @@ -42,23 +42,6 @@ public interface LivingEntity extends Attributable, Entity, Damageable, Projecti */ public Location getEyeLocation(); - /** - * Gets all blocks along the living entity's line of sight. - *

- * This list contains all blocks from the living entity's eye position to - * target inclusive. - * - * @param transparent HashSet containing all transparent block IDs (set to - * null for only air) - * @param maxDistance this is the maximum distance to scan (may be limited - * by server by at least 100 blocks, no less) - * @return list containing all blocks along the living entity's line of - * sight - * @deprecated Magic value - */ - @Deprecated - public List getLineOfSight(HashSet transparent, int maxDistance); - /** * Gets all blocks along the living entity's line of sight. *

-- cgit v1.2.3