This commit is contained in:
Jesse Boyd 2017-02-19 14:49:19 +11:00
parent d1682d6938
commit 3ce80033e5
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ ext {
date = git.head().date.format("yy.MM.dd")
revision = "-${git.head().abbreviatedId}"
parents = git.head().parentIds;
index = -73; // Offset to mach CI
index = -71; // Offset to mach CI
int major, minor, patch;
major = minor = patch = 0;
for (;parents != null && !parents.isEmpty();index++) {

View File

@ -376,7 +376,7 @@ public class ForgeQueue_All extends NMSMappedFaweQueue<World, Chunk, ExtendedBlo
int y = FaweCache.CACHE_Y[layer][j];
int z = FaweCache.CACHE_Z[layer][j];
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);
}
}