From 1cf25fc21f172216d90abd00b2b80fb38ded3441 Mon Sep 17 00:00:00 2001 From: darcy Date: Tue, 3 Dec 2024 15:49:50 +1100 Subject: [PATCH] Update `minecraft_tests` test --- test/minecraft_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/minecraft_tests.cpp b/test/minecraft_tests.cpp index 7032c9f7..1cd57ab8 100644 --- a/test/minecraft_tests.cpp +++ b/test/minecraft_tests.cpp @@ -112,7 +112,7 @@ TEST_CASE("Test the main mcpp class") { SUBCASE("getHeight") { Coordinate heightTestLoc(300, 200, 300); mc.setBlock(heightTestLoc, Blocks::DIRT); - auto height = mc.getHeight(heightTestLoc.x, heightTestLoc.z); + auto height = mc.getHeight(heightTestLoc); CHECK_EQ(height, heightTestLoc.y); // Clean up