WorldEdit Version
7.4.0
Platform Version
Fabric 0.18.4
Confirmations
Bug Description
When attempting to paste a mob wearing enchanted armor using //paste -e, the mobs inventory gets completely cleared, including unrelated not enchanted items
Expected Behavior
For the mob that is pasted to have the same inventory as the one copied, with all items and item data including enchantments
Reproduction Steps
- Build a small 1x2x1 hole to put the mob in so it doesn't move
- While in the hole, use the command
/summon husk ~ ~ ~ {equipment:{mainhand:{id:dirt},chest:{id:netherite_chestplate,components:{"minecraft:enchantments":{"minecraft:protection":1}}}}}
- Select an area that includes the husk, then do
//copy -e
- Go somewhere else and do
//paste -e. The mob will not have any items
Anything Else?
The last version of world edit I was using before this was 7.3.10, and this was not an issue. I also believe that this works fine on spigot and paper servers
WorldEdit Version
7.4.0
Platform Version
Fabric 0.18.4
Confirmations
Bug Description
When attempting to paste a mob wearing enchanted armor using //paste -e, the mobs inventory gets completely cleared, including unrelated not enchanted items
Expected Behavior
For the mob that is pasted to have the same inventory as the one copied, with all items and item data including enchantments
Reproduction Steps
/summon husk ~ ~ ~ {equipment:{mainhand:{id:dirt},chest:{id:netherite_chestplate,components:{"minecraft:enchantments":{"minecraft:protection":1}}}}}//copy -e//paste -e. The mob will not have any itemsAnything Else?
The last version of world edit I was using before this was 7.3.10, and this was not an issue. I also believe that this works fine on spigot and paper servers