@b.t returns block type incompatable with minecraft's namespaced ID system
BeeFox-sys opened this issue ยท 1 comments
Versions
CraftBook version: 3.10.2
Bukkit version: git-Spigot-379750e-82542d0 (MC: 1.16.2) (Implementing API version 1.16.2-R0.1-SNAPSHOT)
Describe the bug
When using command items, @b.t returns the spigot name, which due to being in all capitals is incompatible with minecraft commands.
To Reproduce
- Create a command item with
say @b.t
as a command, andCLICK_RIGHT_BLOCK
as the click type - use the command item, and see that the block name is in all capital letter
- attempt use the setblock command with the block name supplied by @b.t (for example,
/setblock ~ ~ ~ COBBLESTONE
- observe that minecraft errors the command, stating it is not a block
Expected behavior
For @b.t to return a minecraft compatible block type, for example rather then COBBLESTONE
it should return either cobblestone
or minecraft:cobblesone
Screenshots
Additional context