mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-05 16:49:39 +00:00
SPIGOT-6464: Fix ShulkerBox#getColor for undyed shulkers
This commit is contained in:
parent
146a7e4bd7
commit
f563167d33
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@ package org.bukkit.block;
|
|||
|
||||
import org.bukkit.DyeColor;
|
||||
import org.bukkit.loot.Lootable;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* Represents a captured state of a ShulkerBox.
|
||||
|
@ -12,8 +12,8 @@ public interface ShulkerBox extends Container, Lootable, Lidded {
|
|||
/**
|
||||
* Get the {@link DyeColor} corresponding to this ShulkerBox
|
||||
*
|
||||
* @return the {@link DyeColor} of this ShulkerBox
|
||||
* @return the {@link DyeColor} of this ShulkerBox, or null if default
|
||||
*/
|
||||
@NotNull
|
||||
@Nullable
|
||||
public DyeColor getColor();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue