Create Fabric

Create Fabric

10M Downloads

Broken schematic files are not handled properly

goteusz-maszyk opened this issue ยท 3 comments

commented

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

  1. Make a broken schematic file, such as one provided below
  2. Upload it to create server
  3. 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

huh.nbt.zip

Crash Report or Log

No response

Operating System

Nobara 39

Mod Version

0.5.1d

Minecraft Version

1.20.1

Other Mods

No response

Additional Context

No response

commented

NOTE: it also happens on forge, should I send it to Creators-of-Create/Create or is it ok here?

commented

report to the forge repo

commented

Issues that occur on Forge as well are no longer being tracked on this repo. Please follow the respective issue on the Forge repo instead: Creators-of-Create#6087