mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 23:07:40 +01:00
SPIGOT-6464: Fix ShulkerBox#getColor for undyed shulkers
By: md_5 <git@md-5.net>
This commit is contained in:
parent
66af0a3e3c
commit
b21ce6d13a
@ -2,7 +2,7 @@ package org.bukkit.block;
|
|||||||
|
|
||||||
import org.bukkit.DyeColor;
|
import org.bukkit.DyeColor;
|
||||||
import org.bukkit.loot.Lootable;
|
import org.bukkit.loot.Lootable;
|
||||||
import org.jetbrains.annotations.NotNull;
|
import org.jetbrains.annotations.Nullable;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represents a captured state of a ShulkerBox.
|
* 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
|
* 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();
|
public DyeColor getColor();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user