получение чанков из региона для отрицательных координат
This commit is contained in:
@@ -51,7 +51,7 @@ class Region implements Closeable {
|
||||
Chunk getChunk(int x, int z) {
|
||||
int offset;
|
||||
try {
|
||||
offset = getOffset(x, z);
|
||||
offset = getOffset(x & 31, z & 31);
|
||||
} catch (Exception e) {
|
||||
return new EmptyChunk(x, z);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user