Restore old oil calculation
This commit is contained in:
parent
6e0a7e083b
commit
3f8b428110
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue