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 obstructed diagonal movement #267

Closed
wants to merge 5 commits into from
Closed

Fix obstructed diagonal movement #267

wants to merge 5 commits into from

Conversation

BattleDash
Copy link

@BattleDash BattleDash commented May 28, 2022

When moving diagonally, if there are blocks obstructing the movement, the bot will get stuck forever.

In this example, the red block is the target, the blue block is where the bot is, and the yellow blocks are obstructing the diagonal movement.
javaw_riiJZcaPA9

This checks if there are obstructing blocks, and moves around them.

@BattleDash
Copy link
Author

Identified root cause, turns out this worked on versions lower than 1.18.

@BattleDash BattleDash closed this Jun 2, 2022
@BattleDash BattleDash deleted the patch-1 branch June 2, 2022 20:20
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.

None yet

1 participant