nlipiarski / MCC

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

Selectors within JSON don't play nice. #6

Closed Moesh-zz closed 7 years ago

Moesh-zz commented 7 years ago

Adding any arguments after the selector (i.e. @s[m=0]) makes it display fine(edited)

Example code:

Displays incorrectly, bracket highlights as errors `title @a actionbar {"selector":"@s"}

Displays correctly, due to additional selector. title @a actionbar {"selector":"@s[m=1]"}`

Moesh-zz commented 7 years ago

image

This also seems to be causing some highlighting to break.

nlipiarski commented 7 years ago

Fixed. Look for it in the release coming out later today.