Fixes #431
This commit is contained in:
parent
d1682d6938
commit
3ce80033e5
@ -28,7 +28,7 @@ ext {
|
|||||||
date = git.head().date.format("yy.MM.dd")
|
date = git.head().date.format("yy.MM.dd")
|
||||||
revision = "-${git.head().abbreviatedId}"
|
revision = "-${git.head().abbreviatedId}"
|
||||||
parents = git.head().parentIds;
|
parents = git.head().parentIds;
|
||||||
index = -73; // Offset to mach CI
|
index = -71; // Offset to mach CI
|
||||||
int major, minor, patch;
|
int major, minor, patch;
|
||||||
major = minor = patch = 0;
|
major = minor = patch = 0;
|
||||||
for (;parents != null && !parents.isEmpty();index++) {
|
for (;parents != null && !parents.isEmpty();index++) {
|
||||||
|
@ -376,7 +376,7 @@ public class ForgeQueue_All extends NMSMappedFaweQueue<World, Chunk, ExtendedBlo
|
|||||||
int y = FaweCache.CACHE_Y[layer][j];
|
int y = FaweCache.CACHE_Y[layer][j];
|
||||||
int z = FaweCache.CACHE_Z[layer][j];
|
int z = FaweCache.CACHE_Z[layer][j];
|
||||||
int id = currentIdArray[j] & 0xFF;
|
int id = currentIdArray[j] & 0xFF;
|
||||||
byte data = (byte) currentDataArray.get(x, y & 15, z);
|
byte data = (byte) (currentDataArray != null ? currentDataArray.get(x, y & 15, z) : 0);
|
||||||
previous.setBlock(x, y, z, id, data);
|
previous.setBlock(x, y, z, id, data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user