From dc9edf26ece66f2491b1bd2741feb1bcc1102caf Mon Sep 17 00:00:00 2001 From: xXTurner <40324267+xXTurnerLP@users.noreply.github.com> Date: Wed, 15 Sep 2021 21:35:32 +0300 Subject: [PATCH] Fixed typo in the javadoc of CommandsAPI class (#924) --- .../dan200/computercraft/shared/computer/apis/CommandAPI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dan200/computercraft/shared/computer/apis/CommandAPI.java b/src/main/java/dan200/computercraft/shared/computer/apis/CommandAPI.java index 1adcbf7e3..f59709717 100644 --- a/src/main/java/dan200/computercraft/shared/computer/apis/CommandAPI.java +++ b/src/main/java/dan200/computercraft/shared/computer/apis/CommandAPI.java @@ -121,7 +121,7 @@ public class CommandAPI implements ILuaAPI * @throws LuaException (hidden) If the task cannot be created. * @cc.usage Asynchronously sets the block above the computer to stone. *
{@code
-     * commands.execAsync("~ ~1 ~ minecraft:stone")
+     * commands.execAsync("setblock ~ ~1 ~ minecraft:stone")
      * }
* @cc.see parallel One may also use the parallel API to run multiple commands at once. */