Infinite Music Discs

Infinite Music Discs

66 Downloads

Datapack doesn't load on server

SashaCanfield03 opened this issue ยท 3 comments

commented

Hello,

I put the datapack on my server, and it gave the error message:
Failed to load function yumebako_dp:help
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 1: Invalid chat component: Not a boolean: "true" at position 83: ...d":"true"}<--[HERE]
It's a fabric server running Terralith and a proximity chat mod. I don't think that would cause a problem though.
Let me know if you have a solution, in the meantime I'm going to try deleting various functions in the datapack folder until it works.

Also, thanks for making an amazing datapack!

commented

It looks like deleting the file for the help function fixed the problem. As long as that file wasn't important to make the jukeboxes work, it should be good now. I'm not planning on using commands for this datapack anyways.

commented

Yeah Minecraft changed how it parses JSON in 1.19.4 which broke the help function. It just needs a small formatting update to work again, which will be included in the next release. That help function is not essential for the discs to function, you're safe to delete it.

I'm surprised the help function not loading prevented the rest of the datapack from working. If this happens again, you can also try running /function yumebako_dp:setup_load instead of deleting the help function.

commented

Partial duplicate of #119