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 machines dropping contents in onDrops, which may be called even when the machine isn't being broken #1873

Merged
merged 3 commits into from
Sep 1, 2024

Conversation

screret
Copy link
Member

@screret screret commented Sep 1, 2024

What

#1650
also did a small feature from a defunct branch because it might come in handy later

Implementation Details

added parameters BlockPos pos, BlockState state to IToolGridHighLight's methods
moved content drops to IMachineLife#onMachineRemoved

Outcome

fixes #1650
supercedes #1652

@screret screret requested a review from a team as a code owner September 1, 2024 15:41
@Pumpkin7266
Copy link
Contributor

Spotless

@YoungOnionMC YoungOnionMC merged commit fe49afd into 1.20.1 Sep 1, 2024
2 checks passed
@YoungOnionMC YoungOnionMC deleted the sc/fix-machine-drops branch September 1, 2024 17:52
@screret screret added the type: bug Something isn't working label Sep 1, 2024
screret added a commit that referenced this pull request Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Put annihilation plane on machine can cause the items to disappear
3 participants