Restore old oil calculation

This commit is contained in:
Blood-Asp 2017-07-06 23:02:29 +02:00
parent 6e0a7e083b
commit 3f8b428110

View file

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