-
Notifications
You must be signed in to change notification settings - Fork 529
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
Enabling call-explosion-event
will not drop Slimefun blocks when breaking it using explosive tools.
#3601
Comments
call-explosion-event
will not drop Slimefun blocks when breaking it using explosive tools.
I spent most of my time debugging this, the returned list from the blockExplodeEvent inside the ExplosiveTool.class are mutated and something is messing with it in the internals, its not giving the expected list given from the constructor of the block explode event and is being mutated after the event is called and doing a call to #blockList() returns only air blocks while the solid blocks are being filtered for a reason I can't really tell why. |
Players from my server reported explosive pickaxe is breaking only 1 block and not 3x3 |
I'm pretty sure I found the culprit: line 52 of |
❗ Checklist
📍 Description
Enabling
call-explosive-event
on explosive tools caused only the targeted Slimefun blocks to be dropped and drop nothing on the exploded part. This only happens to Slimefun blocks, vanilla blocks will drop just fine. Also this seems to clear block storage data on that coordinate as well.📑 Reproduction Steps
call-explosive-event
on explosive pickaxe💡 Expected Behavior
It should drop all the Slimefun blocks
📷 Screenshots / Videos
https://youtu.be/OG7TwUCqqzg
📜 Server Log
No response
📂
/error-reports/
folderNo response
💻 Server Software
Paper
🎮 Minecraft Version
1.19.x
⭐ Slimefun version
🧭 Other plugins
The text was updated successfully, but these errors were encountered: