Carpet

Carpet

2M Downloads

script `run(expr)` isn't working with `execute store result`

gamingredpandas opened this issue ยท 0 comments

commented

script run(expr) isn't working with execute store result
execute store result commands don't store the result when run inside /script run run('')

To Reproduce

  1. Go into a Minecraft world and run these commands:
  2. /scoreboard objectives add test dummy
  3. /scoreboard objectives setdisplay sidebar test
  4. /execute store result score vanilla test run data get entity @s UUID[1]
  5. /script run run('execute store result score carpet test run data get entity @s UUID[1]')
  6. See that the carpet command never stored something

Expected behavior
It should store the value it gets like the vanilla command does.

Video

2021-04-14.17-01-31.mp4

Environment

  • Carpet version: 1.4.28+v210224
  • Minecraft version: 1.16.4
  • Fabric version: 0.11.0-1.16.4

Additional context
if you have any questions about the bug you can message me on discord:

  • Discord: BananaRedPanda#2339