jmc icon indicating copy to clipboard operation
jmc copied to clipboard

[BUG] Unable to handle nbt called "item".

Open FireBallMC3 opened this issue 5 months ago • 1 comments

Describe the bug

Running a command that tries to modify an nbt tag called "item" throws an exception when compiling.

To Reproduce

  1. Write a command that modifies an nbt tag called "item" like execute if entity @s data item run say "hello world!"
  2. Hit compile.

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.

FireBallMC3 avatar Sep 14 '24 12:09 FireBallMC3