diff options
Diffstat (limited to 'src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java index cff54eeb..096de373 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftLivingEntity.java @@ -301,6 +301,6 @@ public class CraftLivingEntity extends CraftEntity implements LivingEntity { } public boolean hasLineOfSight(Entity other) { - return getHandle().az().canSee(((CraftEntity) other).getHandle()); // az should be getEntitySenses + return getHandle().aA().canSee(((CraftEntity) other).getHandle()); // az should be getEntitySenses } } |