prevent fileSaving errors when given a null region
This commit is contained in:
@@ -209,7 +209,7 @@ public class LodFileHandler
|
||||
|
||||
private void saveRegionToDisk(LodRegion region)
|
||||
{
|
||||
if (!readyToReadAndWrite())
|
||||
if (!readyToReadAndWrite() || region == null)
|
||||
return;
|
||||
|
||||
// convert chunk coordinates to region
|
||||
|
||||
Reference in New Issue
Block a user