High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies https://papermc.io/
Find a file
CraftBukkit/Spigot 9680b8dcdb Return correct hasLineOfSight value for players. Fixes BUKKIT-4634
Prior to this change when a plugin called Player.hasLineOfSite() the
method would always return false because EntityHuman does not extend
EntityInsentient. This commit changes that by explicitly checking for
line of sight between two entities and returning that value.

By: Roger Baumgartner <rogermarcbaumgartner@hotmail.com>
2013-08-17 16:13:31 +02:00
paper-server Return correct hasLineOfSight value for players. Fixes BUKKIT-4634 2013-08-17 16:13:31 +02:00