mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 03:22:19 +01:00
SPIGOT-4411: Document use of null for shulker colours
By: md_5 <git@md-5.net>
This commit is contained in:
parent
9961f89c88
commit
f387984287
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…
Reference in a new issue