Skip to content

Commit 07460e3

Browse files
committed
Update minecraft_tests test
1 parent 06ff1ff commit 07460e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/minecraft_tests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ TEST_CASE("Test the main mcpp class") {
112112
SUBCASE("getHeight") {
113113
Coordinate heightTestLoc(300, 200, 300);
114114
mc.setBlock(heightTestLoc, Blocks::DIRT);
115-
auto height = mc.getHeight(heightTestLoc.x, heightTestLoc.z);
115+
auto height = mc.getHeight(heightTestLoc);
116116
CHECK_EQ(height, heightTestLoc.y);
117117

118118
// Clean up

0 commit comments

Comments
 (0)