diff options
author | Roger Baumgartner <rogermarcbaumgartner@hotmail.com> | 2013-08-17 16:13:31 +0200 |
---|---|---|
committer | Travis Ralston <travpc@gmail.com> | 2013-08-26 08:43:51 -0600 |
commit | 2e7f66787dd01e1a5ddaec37c75b54f0f1ee2ce1 (patch) | |
tree | 5ce469b5d08713ba92124bb1a0419c5b4f93649c /LGPL.txt | |
parent | 6482b6f0bd30c2330e38e8f722921af066a6fc12 (diff) | |
download | craftbukkit-2e7f66787dd01e1a5ddaec37c75b54f0f1ee2ce1.tar craftbukkit-2e7f66787dd01e1a5ddaec37c75b54f0f1ee2ce1.tar.gz craftbukkit-2e7f66787dd01e1a5ddaec37c75b54f0f1ee2ce1.tar.lz craftbukkit-2e7f66787dd01e1a5ddaec37c75b54f0f1ee2ce1.tar.xz craftbukkit-2e7f66787dd01e1a5ddaec37c75b54f0f1ee2ce1.zip |
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.
Diffstat (limited to 'LGPL.txt')
0 files changed, 0 insertions, 0 deletions