Height fix
This commit is contained in:
parent
b09ebaaa63
commit
af673baf1f
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ public class EndSpikeFeatureMixin {
|
||||||
int z = spike.getCenterZ();
|
int z = spike.getCenterZ();
|
||||||
int radius = spike.getRadius();
|
int radius = spike.getRadius();
|
||||||
int minY = world.getChunk(x >> 4, z >> 4).sampleHeightmap(Type.WORLD_SURFACE, x & 15, z);
|
int minY = world.getChunk(x >> 4, z >> 4).sampleHeightmap(Type.WORLD_SURFACE, x & 15, z);
|
||||||
int maxY = minY + spike.getHeight() - 30;
|
int maxY = minY + spike.getHeight() - 64;
|
||||||
|
|
||||||
if (GeneratorOptions.replacePillars() && be_radiusInRange(radius)) {
|
if (GeneratorOptions.replacePillars() && be_radiusInRange(radius)) {
|
||||||
radius--;
|
radius--;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue