Fix retro gen. Fixes #1622

This commit is contained in:
modmuss50 2018-11-15 11:06:53 +00:00
parent 7ce4a022af
commit 7e5ec8d70f
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ public class TechRebornRetroGen {
final long zSeed = rng.nextLong() >> 2 + 1L;
final long chunkSeed = (xSeed * coord.getX() + zSeed * coord.getZ()) * seed;
rng.setSeed(chunkSeed);
Core.worldGen.generate(rng, coord.getX() << 4, coord.getZ() << 4, world, null, null);
Core.worldGen.generate(rng, coord.getX(), coord.getZ(), world, null, null);
}
}
}

View file

@ -276,7 +276,7 @@ public class TechRebornWorldGen implements IWorldGenerator {
treeGenerator.generate(world, random, new BlockPos(x, 72, z));
}
}
retroGen.markChunk(ChunkCoord.of(chunkX, chunkZ));
}
retroGen.markChunk(ChunkCoord.of(chunkX, chunkZ));
}
}