Describe the bug
A clear and concise description of what the bug is.
Platform(s)
[x] Quilt/Fabric
Environment(s)
[x] Singleplayer
and
[x] Server
Versions
Minecraft 1.20.1
Taterzens 1.11.6
To Reproduce
Steps to reproduce the behavior:
Launch server or solo world
Put in your inventory anything like some dirt or some cookies
Run /npc create
Right click on it and select edit then behavior
Type an invalide value like juste "word" and click Done
See "An unexpected error occurred trying to execute that command" in chat and your inventory is reset
Expected behavior
Your inventory should be restored when the command does not run correctly with the interface.
Additional context
Once this bug is triggered, the /npc remove does not seem to work anymore, the npc reappears immediately. A /kill doesn't work either and only worldedit worked for me.
Describe the bug A clear and concise description of what the bug is.
Platform(s)
Environment(s)
Versions
To Reproduce Steps to reproduce the behavior:
Expected behavior Your inventory should be restored when the command does not run correctly with the interface.
Additional context Once this bug is triggered, the /npc remove does not seem to work anymore, the npc reappears immediately. A /kill doesn't work either and only worldedit worked for me.