SPIGOT-5329: Clarify isGlowing documentation

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2019-09-19 17:12:56 +10:00
parent 2b1d1adac0
commit 26d26569a8

View File

@@ -448,6 +448,9 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
/** /**
* Sets whether the entity has a team colored (default: white) glow. * Sets whether the entity has a team colored (default: white) glow.
* *
* <b>nb: this refers to the 'Glowing' entity property, not whether a
* glowing potion effect is applied</b>
*
* @param flag if the entity is glowing * @param flag if the entity is glowing
*/ */
void setGlowing(boolean flag); void setGlowing(boolean flag);
@@ -455,6 +458,9 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
/** /**
* Gets whether the entity is glowing or not. * Gets whether the entity is glowing or not.
* *
* <b>nb: this refers to the 'Glowing' entity property, not whether a
* glowing potion effect is applied</b>
*
* @return whether the entity is glowing * @return whether the entity is glowing
*/ */
boolean isGlowing(); boolean isGlowing();