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

Wind Charges causing block damage after spells are cast #1398

Open
NightScythe1 opened this issue Dec 14, 2024 · 0 comments
Open

Wind Charges causing block damage after spells are cast #1398

NightScythe1 opened this issue Dec 14, 2024 · 0 comments

Comments

@NightScythe1
Copy link
Member

Minecraft 1.21.3
Magic 10.9.5-SNAPSHOT-9a873f5
Paper version 1.21.3-76-master@27e4ddc
Was playing with some friends using spells in the Trial Chambers, when suddenly we noticed Wind Charges (thrown by either players or mobs) were destroying/removing blocks upon impact. However, this destruction would then regenerate somehow. I hopped onto my test server to narrow down the bug, and found this:

Casting any spell which has the BreakBlock class in its actions and has an undo parameter, will cause all Wind Charges in the world to cause destructive/block breaking damage. The damage is always a 4x4 square, the blocks are vanished/removed, and then regenerate after the duration defined in the "undo" parameter, and at the speed of "undo_speed". If there is no "undo" parameter, then the blocks don't get destroyed.

Here's a spell you can use to recreate this:

test:
  actions:
    cast:
    - class: BreakBlock
  parameters:
    undo: 10000
    target: other
    range: 0

Just cast this spell, then throw some wind charges at any blocks.

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

No branches or pull requests

1 participant