#840: Adjust annotations in Display entity interface

- Undeprecate #get/setGlowColorOverride() (reverts 02ff2f897a, see 2651717c7d)
- Remove erroneous @NotNull annotation on setBillboard()
This commit is contained in:
Parker Hawke authored and md_5 committed 2023-03-29 19:27:48 +11:00
1 parent a6b85ac332
commit bceda6abd9
1 file changed
-5
@@ -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);
/**