diff options
author | Blood-Asp <bloodasphendrik@gmail.com> | 2017-09-14 22:56:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-14 22:56:18 +0200 |
commit | 73662e531f353013f67ec5de71db77475f33b3a2 (patch) | |
tree | cc32bcda413536c08755e8fe7e6988afba5ebdf9 /src/main | |
parent | 7e50c1640486e1b633ce508a1843f9a7952f389a (diff) | |
parent | 113a4506e339bdd02facccbd9cf5fe5c4ceb9134 (diff) | |
download | GT5-Unofficial-73662e531f353013f67ec5de71db77475f33b3a2.tar.gz GT5-Unofficial-73662e531f353013f67ec5de71db77475f33b3a2.tar.bz2 GT5-Unofficial-73662e531f353013f67ec5de71db77475f33b3a2.zip |
Merge pull request #1218 from GTNewHorizons/updateUO
Revert acciential change to UO
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/gregtech/common/GT_UndergroundOil.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/gregtech/common/GT_UndergroundOil.java b/src/main/java/gregtech/common/GT_UndergroundOil.java index f090498a4e..93fafcfa11 100644 --- a/src/main/java/gregtech/common/GT_UndergroundOil.java +++ b/src/main/java/gregtech/common/GT_UndergroundOil.java @@ -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 |