mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-29 12:37:53 +01:00
Fix snow smooth
This commit is contained in:
parent
73ab11a842
commit
59c2439c85
@ -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++) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user