nlipiarski / MCC

Marshal Command Code Syntax Highlighter
GNU General Public License v3.0
14 stars 2 forks source link

"/" is marked as an error in JSON #34

Closed NotJeven closed 6 years ago

NotJeven commented 6 years ago

Using Marshal Command Code v1.3.32.

In JSON structures a "/" is highlighted as an error. The main situation I am using is in a tellraw click event where the command put into the clickEvent value requires a "/" since the clickEvent simulates the player typing the command into the chat window.

Recreated with the following command tellraw @a {"text":"asdf","clickEvent":{"action":"run_command","value":"/scoreboard players set @a var 0"}}

image