diff --git a/examples/stage1/snippets/Main.java b/examples/stage1/snippets/Main.java index d8d6f480..b9a35dea 100644 --- a/examples/stage1/snippets/Main.java +++ b/examples/stage1/snippets/Main.java @@ -11,7 +11,7 @@ public final class Main { private Main() {} public static void main(String... args) { - RobotBase.startRobot(first.robot.Robot.class); + RobotBase.startRobot(first.robot.Robot::new); } } // [/main] diff --git a/src/content/docs/learning-course/stage1/stage1a/stage-overview.mdx b/src/content/docs/learning-course/stage1/stage1a/stage-overview.mdx index 846e732d..881b7368 100644 --- a/src/content/docs/learning-course/stage1/stage1a/stage-overview.mdx +++ b/src/content/docs/learning-course/stage1/stage1a/stage-overview.mdx @@ -64,7 +64,7 @@ Its contents are pretty short and sweet (comments and package declaration remove ``` You can see that all the `Main.java` file is doing is, quite literally, starting up the robot, -so there's really no reason to edit this file for now. +so there's no reason to edit this file.