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") 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 = -90; // Offset to mach CI index = -91; // 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++) {

View File

@ -79,7 +79,7 @@ public class HeightMap {
int x = pos.getBlockX(); int x = pos.getBlockX();
int z = pos.getBlockZ(); int z = pos.getBlockZ();
y = session.getNearestSurfaceLayer(x, z, y, 0, maxY); 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 { } else {
// Store current heightmap data // Store current heightmap data