Armor Statues Datapack

Armor Statues Datapack

14.6k Downloads

[BUG]

TheEvilM opened this issue ยท 1 comments

commented

Issue Description:

Undo action affects locked armor stand.

What happens:

Undo action affects nearest armor stand even if it's locked

What you expected to happen:

Locked armor stands should stay locked

Steps to reproduce:

  1. place armor stand
  2. lock armor stand
  3. place another armor stand and make it small
  4. nudge small stand into locked one
  5. undo

Affected Versions (Do not use "latest"):

  • Minecraft: 1.18.1

  • Armor Statues: 2.9

  • Single Player and Server

  • Optifine? Yes

Screenshots (Optional)

1

commented

I guess you should add add tag=as_selected to undo.mcfunction and redo.mcfunction
data modify entity @e[type=minecraft:armor_stand,sort=nearest,limit=1,tag=as_selected]
Works for me