From f38798428799bbcd4df42038e61d573d87dee76c Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 6 Oct 2018 10:16:59 +1000 Subject: [PATCH] SPIGOT-4411: Document use of null for shulker colours By: md_5 --- paper-api/src/main/java/org/bukkit/material/Colorable.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/material/Colorable.java b/paper-api/src/main/java/org/bukkit/material/Colorable.java index 3b91b2471a..0c0f714052 100644 --- a/paper-api/src/main/java/org/bukkit/material/Colorable.java +++ b/paper-api/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. */