Clarify Colorable docs further

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2018-10-06 10:55:06 +10:00
parent f387984287
commit 6fb32733f2

View file

@ -10,7 +10,8 @@ public interface Colorable {
/** /**
* Gets the color of this object. * Gets the color of this object.
* <br> * <br>
* This may be null to represent the default color of an object. * This may be null to represent the default color of an object, if the
* object has a special default color (e.g Shulkers).
* *
* @return The DyeColor of this object. * @return The DyeColor of this object.
*/ */
@ -19,7 +20,8 @@ public interface Colorable {
/** /**
* Sets the color of this object to the specified DyeColor. * Sets the color of this object to the specified DyeColor.
* <br> * <br>
* This may be null to represent the default color of an object. * This may be null to represent the default color of an object, if the
* object has a special default color (e.g Shulkers).
* *
* @param color The color of the object, as a DyeColor. * @param color The color of the object, as a DyeColor.
*/ */