aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/api
diff options
context:
space:
mode:
authorBlood-Asp <bloodasphendrik@gmail.com>2016-03-16 22:49:15 +0100
committerBlood-Asp <bloodasphendrik@gmail.com>2016-03-16 22:49:15 +0100
commit9e7f34a12f443d0788cf8526da49588259bebab1 (patch)
tree92e17767d3a42a36fc8a1a18d4cfc4b54b5f0c7d /src/main/java/gregtech/api
parentb9d9706727b9ab17abf360d6283bba2ec2ac0032 (diff)
downloadGT5-Unofficial-9e7f34a12f443d0788cf8526da49588259bebab1.tar.gz
GT5-Unofficial-9e7f34a12f443d0788cf8526da49588259bebab1.tar.bz2
GT5-Unofficial-9e7f34a12f443d0788cf8526da49588259bebab1.zip
Fix heavy oil gen without messing everything up
Diffstat (limited to 'src/main/java/gregtech/api')
-rw-r--r--src/main/java/gregtech/api/util/GT_Utility.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/gregtech/api/util/GT_Utility.java b/src/main/java/gregtech/api/util/GT_Utility.java
index 159f8e13dd..c6d1ab5285 100644
--- a/src/main/java/gregtech/api/util/GT_Utility.java
+++ b/src/main/java/gregtech/api/util/GT_Utility.java
@@ -1508,8 +1508,9 @@ public class GT_Utility {
Random tRandom = new Random((aWorld.getSeed() + (aX / 96) + (7 * (aZ / 96))));
- int oil = tRandom.nextInt(4);
+ int oil = tRandom.nextInt(3);
double amount = tRandom.nextInt(50) + tRandom.nextDouble();
+ oil = tRandom.nextInt(4);
// System.out.println("Oil: "+(aX/96)+" "+(aZ/96)+" "+oil+" "+amount);
// amount = 40;
Fluid tFluid = null;