Closed Kuoxsr closed 7 months ago
Version 0.16
.ogg
.subtitles
Folders that had no .ogg files in them should have been ignored.
JSON records were created for folders that had no .ogg files in them.
{ "entity.enderman.scream": { "replace": true, "sounds": [], "subtitle": "subtitles.entity.enderman.ambient" }, "entity.ghast.warn": { "replace": true, "sounds": [], "subtitle": "subtitles.entity.ghast.shoot" } }
The script appears to be creating a sound event in the JSON for every folder with any file in it, regardless of whether that file is an .ogg file or not.
Affected version/commit
Version 0.16
Steps to reproduce
.ogg
files, but deliberately leave some folders with nothing but.subtitles
filesExpected behavior
Folders that had no
.ogg
files in them should have been ignored.Resulting behavior
JSON records were created for folders that had no
.ogg
files in them.Notes
The script appears to be creating a sound event in the JSON for every folder with any file in it, regardless of whether that file is an
.ogg
file or not.