We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
minecraft_tests
1 parent 06ff1ff commit 07460e3Copy full SHA for 07460e3
test/minecraft_tests.cpp
@@ -112,7 +112,7 @@ TEST_CASE("Test the main mcpp class") {
112
SUBCASE("getHeight") {
113
Coordinate heightTestLoc(300, 200, 300);
114
mc.setBlock(heightTestLoc, Blocks::DIRT);
115
- auto height = mc.getHeight(heightTestLoc.x, heightTestLoc.z);
+ auto height = mc.getHeight(heightTestLoc);
116
CHECK_EQ(height, heightTestLoc.y);
117
118
// Clean up
0 commit comments