Steps to reproduce the issue:
Create an event listener for before event of
playerBreakBlockand make it log anything.Try hitting a block that has
minecraft:can_destroy_in_creativeset to false, like a vanilla sword.
Expected result:
It won’t log anything since it didn’t break anything in the client.
Actual result:
It logged something which means it broke something in the client, which it shouldn’t be.
I hope I don’t need to provide packs here, it’s very simple to replicate.
Please attach an example pack that can be used to reproduce the issue.