ClassCastException when loading purpur world config
Blaackyy opened this issue · comments
Using dev/1.19.3.
How to reproduce it:
You need to do a fresh MultiPaper install.
- Start the master
- Start the fresh server.
- Restart it and you'll have that crash.
The first time it will start as normal, the issue only appears after a restart when the server tries to load the purpur.yml file.
Crash info to ease the debug and the piece of purpur.yml that triggers the cast issue: Hastebin
I'm not familiarized with the codebase but did a quick fix just passing the object to a string, then parsing that string to double.
I think this is upstream problem? since there is no way MultiPaper is changing configs of purpur
even tho, such thing didn't happen to me
also most of crash report isn't there as looking into hastebin link
but you should into this part, it could be issue on your own end. (config error)
purpur.yml piece that makes the file load fail.
hoe:
...
minecraft:rooted_dirt:
condition: always
drops:
minecraft:hanging_roots: 1
into: minecraft:dirt
if it still happening for try on normal purpur.
Yeah, couldn't replicate it on purpur so that leads me to some issue on my end and I found it. It is not related to the software but to pterodactyl.
In case this happens to someone else:
Do not add the purpur.yml file to the automatic configuration section of the egg. You better stick with the master sync as the parser seems to struggle and it simplifies numbers and changes everything inside. It may also happen with other big configs as well.
Thanks ham^^
No problem