Skip to content

Commit

Permalink
fix: keep the same with original docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MC-XiaoHei committed Dec 8, 2024
1 parent c62a2f0 commit 38c6f44
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ These methods allow you to interact with the Minecraft function that this class

### `run()`

:::warning run() support in 1.20.3+
:::danger run() support in 1.20.3+

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.

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

### `runAs(Entity)`

:::warning runAs(Entity) support in 1.20.3+
:::danger runAs(Entity) support in 1.20.3+

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.

Expand Down

0 comments on commit 38c6f44

Please sign in to comment.