From 3a31ab3cb761841dbabdde9f55f7712304928a75 Mon Sep 17 00:00:00 2001 From: NEZNAMY Date: Fri, 21 Jun 2024 18:48:05 +0200 Subject: [PATCH] NumberFormat is nullable --- .../main/java/com/velocitypowered/api/scoreboard/Objective.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/com/velocitypowered/api/scoreboard/Objective.java b/api/src/main/java/com/velocitypowered/api/scoreboard/Objective.java index 8d3c858..a233849 100644 --- a/api/src/main/java/com/velocitypowered/api/scoreboard/Objective.java +++ b/api/src/main/java/com/velocitypowered/api/scoreboard/Objective.java @@ -49,7 +49,7 @@ public interface Objective { @Nullable NumberFormat getNumberFormat(); - void setNumberFormat(@NotNull NumberFormat numberFormat); + void setNumberFormat(@Nullable NumberFormat numberFormat); @NotNull Score.Builder scoreBuilder(@NotNull String holder);