From 15d0b9b07faeb6666845044f378393ef1f0f4246 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 29 Mar 2023 19:27:48 +1100 Subject: [PATCH] #840: Adjust annotations in Display entity interface - Undeprecate #get/setGlowColorOverride() (reverts ff78a4cdaf5, see f328857bac2) - Remove erroneous @NotNull annotation on setBillboard() By: Parker Hawke --- paper-api/src/main/java/org/bukkit/entity/Display.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/Display.java b/paper-api/src/main/java/org/bukkit/entity/Display.java index c8fe50987d..bfdda8c060 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Display.java +++ b/paper-api/src/main/java/org/bukkit/entity/Display.java @@ -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); /**