You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To start, execute if entity @s data item run say "hello world!" is not valid command syntax in the first place
Assuming you mean execute if data entity @s item run say "hello world!", WingedSeal said that's not really possible for him to fix. You have three options for how to rework your code.
Use if (data entity @s item) {say "hello world!";}
Use JMC.put('execute if data entity @s item run say "hello world!"');
Keep your command as execute if data entity @s item run say "hello world!" and add #del item in a header file.
Describe the bug
Running a command that tries to modify an nbt tag called "item" throws an exception when compiling.
To Reproduce
execute if entity @s data item run say "hello world!"
Expected behavior
The compiler shouldn't throw an exception. Instead it should be compiled to
execute if data entity @s item run say "hello world!
Screenshots
[If applicable, add screenshots to help explain your problem.]
Desktop
Windows
Additional context
I am using the pre released version for datapack version 48 support.
The text was updated successfully, but these errors were encountered: