From 76fdc1ef45b786f97452d636d1bceb39fbda3c4b Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 6 Oct 2018 10:16:59 +1000 Subject: SPIGOT-4411: Document use of null for shulker colours --- src/main/java/org/bukkit/material/Colorable.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main/java/org') diff --git a/src/main/java/org/bukkit/material/Colorable.java b/src/main/java/org/bukkit/material/Colorable.java index 3b91b247..0c0f7140 100644 --- a/src/main/java/org/bukkit/material/Colorable.java +++ b/src/main/java/org/bukkit/material/Colorable.java @@ -9,6 +9,8 @@ public interface Colorable { /** * Gets the color of this object. + *
+ * This may be null to represent the default color of an object. * * @return The DyeColor of this object. */ @@ -16,6 +18,8 @@ public interface Colorable { /** * Sets the color of this object to the specified DyeColor. + *
+ * This may be null to represent the default color of an object. * * @param color The color of the object, as a DyeColor. */ -- cgit v1.2.3