Skip to content

Commit 38c6f44

Browse files
committed
fix: keep the same with original docs
1 parent c62a2f0 commit 38c6f44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/create-commands/functions-and-tags/function-wrapper.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ These methods allow you to interact with the Minecraft function that this class
3838

3939
### `run()`
4040

41-
:::warning run() support in 1.20.3+
41+
:::danger run() support in 1.20.3+
4242

4343
As of CommandAPI 9.3.0 (compatible with Minecraft versions 1.20.3 and 1.20.4), calling `run()` will always return a value of `1`, regardless of whether the command succeeds, fails, or returns a result.
4444

@@ -55,7 +55,7 @@ The `run()` method runs the function. The command executor that runs this functi
5555

5656
### `runAs(Entity)`
5757

58-
:::warning runAs(Entity) support in 1.20.3+
58+
:::danger runAs(Entity) support in 1.20.3+
5959

6060
As of CommandAPI 9.3.0 (compatible with Minecraft versions 1.20.3 and 1.20.4), calling `runAs(Entity)` will always return a value of `1`, regardless of whether the command succeeds, fails, or returns a result.
6161

0 commit comments

Comments
 (0)