NBT Editor

NBT Editor

32.6k Downloads

Data modifiy string issue

MCTCRS opened this issue ยท 0 comments

commented

(NBT Editor ver: 2.0.2 server-sided, MC: 1.21.1
bug:
The mod breaks /data modify ... set string commands.
The command fails with an error: Expected a value when a valid string is provided.
(this dosent seem to effects any other part of /data command)

see:
https://github.com/user-attachments/assets/4ecbb64d-3a55-42f4-972c-dc9a96911333

or

to reproduce:

  1. having nbt editor 2.0.2 installed, singleplayer 1.21.1
  2. place 2 impluse command block on top each other (can be in any direction)
  3. set the bottom command block's command to "foo bar baz"
  4. stand on top of upper command block
  5. run the following command: /data modify block ~ ~-1 ~ Command set string block ~ ~-2 ~ Command 4 -4

Expected:
command run successfully, the upper command block's command changes to
"bar"
Got:
command fails with: Expected a value, got: "foo bar baz"