diff --git a/patches/api/0449-add-number-format-api.patch b/patches/api/0449-add-number-format-api.patch index b073a2676ceda..cdf4a69a219c7 100644 --- a/patches/api/0449-add-number-format-api.patch +++ b/patches/api/0449-add-number-format-api.patch @@ -192,7 +192,7 @@ index a193ffabb05160b462dee1ba8f687fdbc84405b6..703244fcc26a04017ea4c0632651a104 + // Paper end - number format api } diff --git a/src/main/java/org/bukkit/scoreboard/Score.java b/src/main/java/org/bukkit/scoreboard/Score.java -index 1eaa9a93f8eff5f18a6cce2d74f21eb19db273c8..7e6e561dea552c071192563994b86fbebebb17b1 100644 +index 1eaa9a93f8eff5f18a6cce2d74f21eb19db273c8..8642438ba17ec60f709f1898326b24bd912eab62 100644 --- a/src/main/java/org/bukkit/scoreboard/Score.java +++ b/src/main/java/org/bukkit/scoreboard/Score.java @@ -83,4 +83,26 @@ public interface Score { @@ -212,7 +212,7 @@ index 1eaa9a93f8eff5f18a6cce2d74f21eb19db273c8..7e6e561dea552c071192563994b86fbe + @Nullable io.papermc.paper.scoreboard.numbers.NumberFormat numberFormat(); + + /* -+ * Sets the number format for this score. ++ * Sets the number format for this score. If this score has not been set yet {@link #isScoreSet()}, it will be created + * + * @param format the number format to set, pass null to reset format to default + * @throws IllegalStateException if the associated objective has been