Closed misode closed 5 years ago
I'm trying to read a region file with region = nbt.nbt.NBTFile(file), but it's giving an error OSError: Not a gzipped file. How can I read my region files?
region = nbt.nbt.NBTFile(file)
OSError: Not a gzipped file
Edit: turns out I need to use nbt.region.RegionFile(file), sorry :/
nbt.region.RegionFile(file)
I'm trying to read a region file with
region = nbt.nbt.NBTFile(file)
, but it's giving an errorOSError: Not a gzipped file
. How can I read my region files?Edit: turns out I need to use
nbt.region.RegionFile(file)
, sorry :/