Merge pull request #1218 from GTNewHorizons/updateUO

Revert acciential change to UO
This commit is contained in:
Blood-Asp 2017-09-14 22:56:18 +02:00 committed by GitHub
commit 73662e531f

View file

@ -55,9 +55,9 @@ public class GT_UndergroundOil {
}
//GEN IT TO GET OBJECT...
final XSTR tRandom = new XSTR(aWorld.getSeed() + aWorld.provider.dimensionId * 2 +
(chunk.getChunkCoordIntPair().chunkXPos>>3) +
8267 * (chunk.getChunkCoordIntPair().chunkZPos>>3));
final XSTR tRandom = new XSTR( (aWorld.getSeed() + aWorld.provider.dimensionId * 2 +
((int)Math.floor((double)chunk.getChunkCoordIntPair().chunkXPos/(double)6)) +
(7 * ((int)Math.floor((double)chunk.getChunkCoordIntPair().chunkZPos/6)))));
GT_UO_Fluid uoFluid = GT_Mod.gregtechproxy.mUndergroundOil.GetDimension(aWorld.provider.dimensionId).getRandomFluid(tRandom);
//Fluid stack holder