Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix getPlayerTilePosition() and add corresponding test case #29

Merged
merged 3 commits into from
Jun 11, 2024

Conversation

nhatdongdang
Copy link
Contributor

Description

This pull request fixes the incomplete command in the getPlayerTilePosition() function.

Changes:

  • Updated the command from player. to player.getTile.
  • Added corresponding test case for getPlayerTilePosition() and setPlayerTilePosition()

Linked Issue

This pull request fixes #28

Copy link
Owner

@rozukke rozukke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know why maintainers become grumpy so quickly now... Thanks for the catch.

test/minecraft_tests.cpp Outdated Show resolved Hide resolved
@rozukke rozukke self-assigned this Jun 10, 2024
@nhatdongdang nhatdongdang force-pushed the fix/get-player-tile-position branch from 9ce735f to c7da208 Compare June 11, 2024 01:32
@nhatdongdang nhatdongdang force-pushed the fix/get-player-tile-position branch from 1917223 to 653c05f Compare June 11, 2024 03:20
Copy link
Owner

@rozukke rozukke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for now 👍
Update pending in an upcoming PR

@rozukke rozukke merged commit 2356611 into rozukke:main Jun 11, 2024
1 check passed
@nhatdongdang nhatdongdang deleted the fix/get-player-tile-position branch June 15, 2024 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing command in getPlayerTilePosition()
2 participants