EngineHub / WorldEdit

🗺️ Minecraft map editor and mod
https://enginehub.org/worldedit/
Other
3.09k stars 837 forks source link

indestructable piston block #2484

Open Saidas25 opened 6 months ago

Saidas25 commented 6 months ago

WorldEdit Version

Fabric-Official(7.3.0+6678-5574ad)

Platform Version

Fabric 0.15.17, 1.20.4

Confirmations

Bug Description

Don't know if this is a bug, but: You can make indestructable ghost blocks from pistons. Took a while to find out why my pistons aren't working after i deleted them. https://i.imgur.com/3rmfEe9.mp4 here is a video of it happening

Expected Behavior

when i delete the pistons and return them, they wouldn't become invisible unbreakable blocks

Reproduction Steps

  1. place a few pistons connected to a clock
  2. delete them with something like /replacenear 5 air
  3. do /undo
  4. when you do that, some of the pistons become... unbreakable air blocks???

Anything Else?

No response

Zeranny commented 6 months ago

What you have there is the "moving_piston" block. At the moment you replaced them the pistons were in a sort of half way step between being extended and being contracted.

You can replace moving_piston with air if you want to get rid of them.

github-actions[bot] commented 3 months ago

This issue has been automatically marked as stale because it has not been fully confirmed. It will be closed if no further activity occurs. Thank you for your contributions.

octylFractal commented 3 months ago

This looks like something that could be fixed, but I'm not sure of the exact cause in code. In theory we should already be capturing all state.