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

Pass ignition by players to BlockBreakEvent handler #2050

Merged
merged 1 commit into from May 3, 2023

Conversation

Jikoo
Copy link
Collaborator

@Jikoo Jikoo commented Apr 23, 2023

Technically a BlockPlaceEvent is more accurate to what's going on with a state change, but calling an accurate BlockPlaceEvent is a lot more annoying - we have to capture a state, make the change with no physics, and then undo the change again so that either the event is cancelled or MC can re-make the same change.
Really we more just want to not add a bunch of duplicate code here.

Closes #2048

@RoboMWM RoboMWM merged commit 8f393aa into GriefPrevention:master May 3, 2023
1 check passed
@Jikoo Jikoo deleted the dev/flame-ignition branch May 3, 2023 16:07
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.

Flame Bow lights campfires when not trusted
2 participants