SPIGOT-4411: Document use of null for shulker colours

This commit is contained in:
md_5 2018-10-06 10:16:59 +10:00
parent 867794b29b
commit 76fdc1ef45

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