From 26d26569a8a7dcf82cd29b5c54b971b572f34e78 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 19 Sep 2019 17:12:56 +1000 Subject: [PATCH] SPIGOT-5329: Clarify isGlowing documentation By: md_5 --- paper-api/src/main/java/org/bukkit/entity/Entity.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/entity/Entity.java b/paper-api/src/main/java/org/bukkit/entity/Entity.java index cd6642f5a3..8928586f7a 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Entity.java +++ b/paper-api/src/main/java/org/bukkit/entity/Entity.java @@ -448,6 +448,9 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent /** * Sets whether the entity has a team colored (default: white) glow. * + * nb: this refers to the 'Glowing' entity property, not whether a + * glowing potion effect is applied + * * @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. * + * nb: this refers to the 'Glowing' entity property, not whether a + * glowing potion effect is applied + * * @return whether the entity is glowing */ boolean isGlowing();