commands.exec() returns an empty table if sendCommandFeedback is false
Sandgunslinger opened this issue ยท 1 comments
- Minecraft version: 1.16.5
- CC: Tweaked version: 1.96.0
- Reproduction steps:
- Make sure gamerule sendCommandFeedback is set to true.
- Place a command computer and open the interactive lua prompt.
- Type "success, table = commands.exec("/data get entity @p Rotation")" and hit enter.
- Type "print(table[1])" and hit enter.
- Set gamerule sendCommandFeedback to false.
- Repeat steps 3 and 4. It should print nil instead of the player data that is expected.