mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 23:33:08 +00:00
Update mappings to 20170616
This commit is contained in:
1 parent
2eabbe4b38
commit
a13ce7910d
193 files changed
+795
-802
No files matched your search
@@ -109,9 +109,9 @@ public class CommonWorldTickHandler
|
||||
Random fmlRandom = new Random(world.getSeed());
|
||||
long xSeed = fmlRandom.nextLong() >> 2 + 1L;
|
||||
long zSeed = fmlRandom.nextLong() >> 2 + 1L;
|
||||
fmlRandom.setSeed((xSeed*nextChunk.chunkXPos + zSeed*nextChunk.chunkZPos) ^ world.getSeed());
|
||||
fmlRandom.setSeed((xSeed*nextChunk.x + zSeed*nextChunk.z) ^ world.getSeed());
|
||||
|
||||
Mekanism.genHandler.generate(fmlRandom, nextChunk.chunkXPos, nextChunk.chunkZPos, world, ((ChunkProviderServer)world.getChunkProvider()).chunkGenerator, world.getChunkProvider());
|
||||
Mekanism.genHandler.generate(fmlRandom, nextChunk.x, nextChunk.z, world, ((ChunkProviderServer)world.getChunkProvider()).chunkGenerator, world.getChunkProvider());
|
||||
Mekanism.logger.info("[Mekanism] Regenerating ores at chunk " + nextChunk);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user