Improve "can see" condition
erenkarakal opened this issue ยท 1 comments
Suggestion
The "can see" syntax only allows you to check if a player can see another player but paper has a method that lets you check if a player can see an entity (they are even the same name)
https://skripthub.net/docs/?id=2827
https://jd.papermc.io/paper/1.21.1/org/bukkit/entity/Player.html#canSee(org.bukkit.entity.Entity)
Why?
Very minor change, won't break old code and makes this syntax more useful
Other
No response
Agreement
- I have read the guidelines above and affirm I am following them with this suggestion.
Duplicate of #6795