1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-14 20:20:30 +00:00

Merge pull request #1421 from zyxkad/patch-1

Fixed `turtle.detectUp` & `turtle.detectDown` doc
This commit is contained in:
Jonathan Coates 2023-04-23 17:20:44 +01:00 committed by GitHub
commit 54b7366b2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {