3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-10 05:20:04 +01:00

Made McRegionReader.getChunkInputStream() throw a DataException instead of returning a null when an ungenerated chunk is encountered.

Dieser Commit ist enthalten in:
Albert Pham 2013-06-02 12:14:56 -07:00
Ursprung 321e2246fc
Commit 10c43a9c9f

Datei anzeigen

@ -133,7 +133,7 @@ public class McRegionReader {
// The chunk hasn't been generated // The chunk hasn't been generated
if (offset == 0) { if (offset == 0) {
return null; throw new DataException("The chunk at " + x + "," + z + " is not generated");
} }
int sectorNumber = offset >> 8; int sectorNumber = offset >> 8;