From 9cf4fbdb11e5d332f395dff297bd4e92a25ac28c Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sun, 14 May 2017 12:00:00 +1000 Subject: [PATCH] Remove old getLineOfSight By: md_5 --- .../java/org/bukkit/entity/LivingEntity.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java b/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java index a938b6196f..12a5593494 100644 --- a/paper-api/src/main/java/org/bukkit/entity/LivingEntity.java +++ b/paper-api/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. *