-
Notifications
You must be signed in to change notification settings - Fork 546
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
change BREAK_BLOCK to PLACE_BLOCK in BlockPlaceEvent #3944
change BREAK_BLOCK to PLACE_BLOCK in BlockPlaceEvent #3944
Conversation
Your Pull Request was automatically labelled as: "✨ Fix" |
Slimefun preview buildA Slimefun preview build is available for testing! https://preview-builds.walshy.dev/download/Slimefun/3944/2cb0d637
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can't believe this hasn't been noticed for so long xd
It would also be good if we can get some testing to make sure this change is the proper functionality |
I did notice this before but thought it was intentional and didn’t give it any thoughts |
It’s likely gone unnoticed because the permissions for breaking and placing normally both go hand-in-hand and for those few servers with a specific distinction it’s less likely someone would trigger the behaviour in the incorrect manner like this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pending removal of the resting label, looking good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch 👍🏻
I don't see the need for testing this as it is mainly just passing the data onto other plugins. However, I noticed that our dough Logblock module does not implement block placement yet: This PR however can be merged in my opinion if that's okay with you. |
Description
The
PlaceBlockEvent
was logging block breaksProposed changes
change
Interaction.BREAK_BLOCK
toInteraction.PLACE_BLOCK
Related Issues (if applicable)
N/A
Checklist
Nonnull
andNullable
annotations to my methods to indicate their behaviour for null values