Broken schematic files are not handled properly
goteusz-maszyk opened this issue ยท 1 comments
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
- Make a broken schematic file, such as one provided below
- Upload it to create server
- See that the server logs go crazy with a
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
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