Update docs/scarpet/api/Scoreboard.md

Co-authored-by: gnembon <41132274+gnembon@users.noreply.github.com>
This commit is contained in:
replaceitemandgnembon authored and GitHub committed 2020-12-28 12:03:20 +01:00
1 parent 6bb7eb2ae2
commit b120f46764
1 file changed
+1 -2
+1 -2
View File
@@ -12,7 +12,7 @@ With specified `objective` and
Adds a new objective to scoreboard. If `criterion` is not specified, assumes `'dummy'`. Adds a new objective to scoreboard. If `criterion` is not specified, assumes `'dummy'`.
If the objective already exists, changes the criterion of that objective and returns false. If the objective already exists, changes the criterion of that objective and returns false.
If the objective was added, returns true. If the objective was added, returns `true`. If nothing is affected, returns `null`
<pre> <pre>
scoreboard_add('counter') scoreboard_add('counter')
@@ -163,4 +163,3 @@ for(bossbar(),bossbar(_,'remove')) -> remove all bossbars