Merge pull request #4331 from thommy101/issue-4304

Fix saltgen offset
This commit is contained in:
Aidan authored and GitHub committed 2017-04-20 10:59:29 -04:00
commit 07544f4eeb
1 file changed
+2 -2
@@ -42,8 +42,8 @@ public class GenHandler implements IWorldGenerator
for(int i = 0; i < general.saltPerChunk; i++)
{
int randPosX = (chunkX*16) + random.nextInt(16);
int randPosZ = (chunkZ*16) + random.nextInt(16);
int randPosX = (chunkX*16) + random.nextInt(16) + 8;
int randPosZ = (chunkZ*16) + random.nextInt(16) + 8;
BlockPos pos = world.getTopSolidOrLiquidBlock(new BlockPos(randPosX, 60, randPosZ));
new WorldGenSalt(6).generate(world, random, pos);
}