Skip to content

Conversation

@DerToaster98
Copy link
Contributor

@DerToaster98 DerToaster98 commented Mar 1, 2025

Describe in detail what your pull request accomplishes

Fixes the inverted logic in the event handler.
Since both retract and extend calls that method, it should do something for either case, so remove the instanceof check for the Extend event and instead use a list.

Checklist

  • Tested

(cherry picked from commit f2cab65)
@TylerS1066
Copy link
Contributor

Put a comment in here once you've tested the PR and I'll take a look.

@DerToaster98
Copy link
Contributor Author

Tested it just now. Blocks pulled and pushed by pistons are added to the craft's hitbox

Overall thing that would be good in movecraft would be using dynamic connectivity to avoid things like crafts that have been shot in half still being technically the same thing.

@TylerS1066 TylerS1066 merged commit 8317800 into APDevTeam:main Apr 27, 2025
1 check passed
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.

2 participants