13
0
geforkt von Mirrors/Paper

SPIGOT-5329: Clarify isGlowing documentation

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2019-09-19 17:12:56 +10:00
Ursprung 2b1d1adac0
Commit 26d26569a8

Datei anzeigen

@ -448,6 +448,9 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
/**
* 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
*/
void setGlowing(boolean flag);
@ -455,6 +458,9 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
/**
* 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
*/
boolean isGlowing();