Skip to content

Commit

Permalink
docs: mention score creation
Browse files Browse the repository at this point in the history
Signed-off-by: David Mayr <[email protected]>
  • Loading branch information
davidmayr committed Jan 1, 2024
1 parent 33fa4ce commit 29c4f51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/api/0449-add-number-format-api.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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
Expand Down

0 comments on commit 29c4f51

Please sign in to comment.