summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-10-06 10:16:59 +1000
committermd_5 <git@md-5.net>2018-10-06 10:16:59 +1000
commit76fdc1ef45b786f97452d636d1bceb39fbda3c4b (patch)
tree9d29f55b5abe64426022132f5c729b7ce4ba3680
parent867794b29b1093f48e53e73cebebb9a871500331 (diff)
downloadbukkit-76fdc1ef45b786f97452d636d1bceb39fbda3c4b.tar
bukkit-76fdc1ef45b786f97452d636d1bceb39fbda3c4b.tar.gz
bukkit-76fdc1ef45b786f97452d636d1bceb39fbda3c4b.tar.lz
bukkit-76fdc1ef45b786f97452d636d1bceb39fbda3c4b.tar.xz
bukkit-76fdc1ef45b786f97452d636d1bceb39fbda3c4b.zip
SPIGOT-4411: Document use of null for shulker colours
-rw-r--r--src/main/java/org/bukkit/material/Colorable.java4
1 files changed, 4 insertions, 0 deletions
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.
+ * <br>
+ * 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.
+ * <br>
+ * This may be null to represent the default color of an object.
*
* @param color The color of the object, as a DyeColor.
*/