MehVahdJukaar / Supplementaries

Other
144 stars 104 forks source link

[🐞]: Flute does not play custom songs only after renaming the item on Fabric #1101

Open PatemaAelita opened 3 months ago

PatemaAelita commented 3 months ago

Before Continuing:

Version

1.20.1-FABRIC

Supplementaries Version

1.20-2.8.17

Moonlight Lib Version

fabric_1.20-2.12.6

Issue Detail

Hi!

I recorded a custom song on Forge to import it on Fabric to play it with the flute. Unfortunatly for some reason when i rename the flute with the song name, it still act like a normal flute, playing all the songs in a random order (including the custom ones). I tried with everything, the json file name, the "name" defined in the json, it's not working (but it works with the original included songs like "Cara Mia Addio"). I tried the same thing with the Forge version and it was working perfectly.

MehVahdJukaar commented 3 months ago

Are you sure dayapack is added correctly? You can try to see if it plays randomly. If not then it's likely not added correctly. Custom songs and normal songs are the same really, just files in the songs folder so there shouldn't be any difference between the two. Also note that the name you should rename it to might be the name in the JSON rather than the file name