Mojira Archive
MC-265799

Store lock data result is the digit count not the the complete integer.

Block Lock data:
25259067

Command used:
/execute store result score b k_knl run data get block ^ ^1 ^ Lock

result inside scoreboards & storage:
8

expected result:
25259067

Note:
Even the output of the of the command is outputting the right number, the scoreboard and the storage is saving the wrong result. It saving the digit length of the number not the number itself. (see pic.)

Recreate with these commands:

  • /scoreboard objectives add test dummy
  • /scoreboard objectives setdisplay sidebar test
  • (place a chest in front of the player and look at it)
  • /data merge block ^ ^1 ^ {Lock:"123"}
  • /execute store result score test test run data get block ^ ^1 ^ Lock

Invalid

Kathezel

2023-10-12, 07:15 PM

2023-10-13, 11:19 AM

2023-10-13, 11:19 AM

0

2

Unconfirmed

(Unassigned)

1.20.2

-