Skip to content

Commit

Permalink
clarify can_see meta
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 22, 2019
1 parent 332dc30 commit 78b8054
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1719,7 +1719,7 @@ else if (mtr.angle == BlockFace.EAST) {
// @returns Element(Boolean)
// @group location
// @description
// Returns whether the entity can see the specified other entity.
// Returns whether the entity can see the specified other entity (has an uninterrupted line-of-sight).
// -->
if (attribute.startsWith("can_see")) {
if (isLivingEntity() && attribute.hasContext(1) && dEntity.matches(attribute.getContext(1))) {
Expand Down

0 comments on commit 78b8054

Please sign in to comment.