From d6751b8e3dcf1e8ebe159bcf48f2cd0f06572a4e Mon Sep 17 00:00:00 2001 From: Kevin Z Date: Sun, 23 Apr 2023 09:58:29 -0600 Subject: [PATCH] Update TurtleAPI.java Fixed `turtle.detectUp` & `turtle.detectDown` doc --- .../dan200/computercraft/shared/turtle/apis/TurtleAPI.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/common/src/main/java/dan200/computercraft/shared/turtle/apis/TurtleAPI.java b/projects/common/src/main/java/dan200/computercraft/shared/turtle/apis/TurtleAPI.java index ef735d584..ece4f31d0 100644 --- a/projects/common/src/main/java/dan200/computercraft/shared/turtle/apis/TurtleAPI.java +++ b/projects/common/src/main/java/dan200/computercraft/shared/turtle/apis/TurtleAPI.java @@ -372,7 +372,7 @@ public class TurtleAPI implements ILuaAPI { * Check if there is a solid block above the turtle. In this case, solid refers to any non-air or liquid block. * * @return The turtle command result. - * @cc.treturn boolean If there is a solid block in front. + * @cc.treturn boolean If there is a solid block above. */ @LuaFunction public final MethodResult detectUp() { @@ -383,7 +383,7 @@ public class TurtleAPI implements ILuaAPI { * Check if there is a solid block below the turtle. In this case, solid refers to any non-air or liquid block. * * @return The turtle command result. - * @cc.treturn boolean If there is a solid block in front. + * @cc.treturn boolean If there is a solid block below. */ @LuaFunction public final MethodResult detectDown() {