Fix snow smooth

This commit is contained in:
Jesse Boyd 2017-04-21 17:05:36 +10:00
parent 73ab11a842
commit 59c2439c85
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 = -90; // Offset to mach CI
index = -91; // Offset to mach CI
int major, minor, patch;
major = minor = patch = 0;
for (;parents != null && !parents.isEmpty();index++) {

View File

@ -79,7 +79,7 @@ public class HeightMap {
int x = pos.getBlockX();
int z = pos.getBlockZ();
y = session.getNearestSurfaceLayer(x, z, y, 0, maxY);
data[(z - bz) * width + (x - bx)] = 7 + (y << 3);
data[(z - bz) * width + (x - bx)] = y;
}
} else {
// Store current heightmap data