SPIGOT-4411: Document use of null for shulker colours

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2018-10-06 10:16:59 +10:00
parent 9961f89c88
commit f387984287

View file

@ -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.
*/