#840: Adjust annotations in Display entity interface

- Undeprecate #get/setGlowColorOverride() (reverts ff78a4cdaf, see f328857bac)
- Remove erroneous @NotNull annotation on setBillboard()

By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
Bukkit/Spigot 2023-03-29 19:27:48 +11:00
parent fc1538ac4d
commit 15d0b9b07f

View file

@ -143,26 +143,21 @@ public interface Display extends Entity {
*
* @param billboard new setting
*/
@NotNull
public void setBillboard(@NotNull Billboard billboard);
/**
* Gets the scoreboard team overridden glow color of this display.
*
* @return glow color
* @deprecated API subject to change
*/
@Nullable
@Deprecated
public Color getGlowColorOverride();
/**
* Sets the scoreboard team overridden glow color of this display.
*
* @param color new color
* @deprecated API subject to change
*/
@Deprecated
public void setGlowColorOverride(@Nullable Color color);
/**