Closed dominicsherry1 closed 5 years ago
This bug affects Marshal Command Code.
It seems like there is a problem with interpreting resource locations in the playsound command which are not sound events in the default resource pack. For example, syntax highlighting works for the command
playsound minecraft:ambient.underwater.loop ambient @s
but does not work for the command
playsound custom:ambient.underwater_bubbles ambient @s
From the file “Parser.py” inside the sublime-package file the function sound_parser shows where the problem lies:
def sound_parser(self, properties={}): return self.location_from_list_parser(self.regex["resource_location"], SOUNDS)
It seems like “SOUNDS” only contains a list of sound events included in the default resource pack.
Sorry for the long time on response for this one, but a new version is out now that fixes this.
This bug affects Marshal Command Code.
It seems like there is a problem with interpreting resource locations in the playsound command which are not sound events in the default resource pack. For example, syntax highlighting works for the command
playsound minecraft:ambient.underwater.loop ambient @s
but does not work for the command
playsound custom:ambient.underwater_bubbles ambient @s
From the file “Parser.py” inside the sublime-package file the function sound_parser shows where the problem lies:
def sound_parser(self, properties={}): return self.location_from_list_parser(self.regex["resource_location"], SOUNDS)
It seems like “SOUNDS” only contains a list of sound events included in the default resource pack.