TerrainControl icon indicating copy to clipboard operation
TerrainControl copied to clipboard

Bo3 object are somehow getting junk data saved to the files

Open Dockter opened this issue 7 years ago • 2 comments

I've experienced this issue a couple times now where junk data is randomly getting saved to the biome object files.

I'm curious if the bo3's aren't being closed properly and its causing this issue.

Dockter avatar Dec 15 '17 01:12 Dockter

Junk data? As in seemingly random bytes?

I'll have a look.

rutgerkok avatar Dec 15 '17 21:12 rutgerkok

I see you tried to fix this in 330e8b56969675716ffff874ae40993e1aa18f86 , but that cannot possibly be the cause. The variable streamForUncompressed was part of a try-with-resources block, which closes the resource automatically. So the added .close() call is redundant.

rutgerkok avatar Mar 24 '18 09:03 rutgerkok