Broken schematic files are not handled properly #6087
Labels
status: fixed in next release
Issue will be fixed in the next release
type: bug
Issue where something isn't working
Describe the Bug
When a player uploads a schematic, it should be checked if it's a correct ZIP-NBT schematic and not throw the error to console.
Reproduction Steps
java.util.zip.ZipException: Not in GZIP format
Expected Result
A player should receive a polite message informing that the schematic file is invalid and they cannot use it.
Screenshots and Videos
huh.nbt.zip
Crash Report or Log
No response
Operating System
Nobara 39
Mod Version
0.5.1f
Minecraft Version
1.20.1
Forge Version
Neo 47.1.96
Other Mods
No response
Additional Context
Fabricators-of-Create#1298
The text was updated successfully, but these errors were encountered: