mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
SPIGOT-4411: Document use of null for shulker colours
This commit is contained in:
parent
867794b29b
commit
76fdc1ef45
1 changed files with 4 additions and 0 deletions
|
@ -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.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue