geforkt von Mirrors/FastAsyncWorldEdit
Made McRegionReader.getChunkInputStream() throw a DataException instead of returning a null when an ungenerated chunk is encountered.
Dieser Commit ist enthalten in:
Ursprung
321e2246fc
Commit
10c43a9c9f
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren