Zergatul / cheatutils

MIT License
38 stars 14 forks source link

Schematics (I know it's testing) won't load any types #22

Open hobolyra opened 1 year ago

hobolyra commented 1 year ago

Loading .schematic files can't be done, nor .schem image

Zergatul commented 1 year ago

Very strange error, not sure why it happens to you. I just tested, I am able to upload schematic file from forge and fabric versions. Maybe some other mod uses older version of gson library can cause this? BTW, it supports also litematic files (I forgot to change description). For schematic file it converts all blocks to obsidian.

hobolyra commented 1 year ago

Yeah not sure why, any attempts to load any format give me the same error. Everything else in the mod works fine, Forge version for 1.19.2 , perhaps that version is the issue since it's not 1.19.4?

Zergatul commented 1 year ago

It was never tested in 1.19.2. You get the same error because of serialization code in google json library, not in actual schematics code. I will only update 1.19.4 going further.

hobolyra commented 1 year ago

Makes sense, thanks again for this tool!