From 113a4506e339bdd02facccbd9cf5fe5c4ceb9134 Mon Sep 17 00:00:00 2001 From: Technus Date: Thu, 14 Sep 2017 22:44:47 +0200 Subject: [PATCH] Revert acciential change to UO --- src/main/java/gregtech/common/GT_UndergroundOil.java | 6 +++--- 1 file 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 f090498a..93fafcfa 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