twoolie / NBT

Python Parser/Writer for the NBT file format, and it's container the RegionFile.
MIT License
361 stars 74 forks source link

get_region should limit the number of open files #153

Open macfreek opened 2 years ago

macfreek commented 2 years ago

nbt.world.get_region is caching the regions, but since world files are not closed, this may give an error after reading ~256 regions.