Fixed a couple bugs from the Oil commit
This commit is contained in:
parent
52ffd07bb3
commit
0b44d97359
2 changed files with 6 additions and 4 deletions
|
@ -91,7 +91,7 @@ public class BuildCraftCore {
|
|||
|
||||
public static RenderMode render = RenderMode.Full;
|
||||
|
||||
public static boolean debugMode = true;
|
||||
public static boolean debugMode = false;
|
||||
public static boolean modifyWorld = false;
|
||||
public static boolean trackNetworkUsage = false;
|
||||
|
||||
|
|
|
@ -64,12 +64,14 @@ public class OilPopulate {
|
|||
int k = startZ + z;
|
||||
|
||||
int blockId = world.getBlockId(i, j, k);
|
||||
if (blockId != 0 && blockId == Block.sand.blockID) {
|
||||
if (blockId != 0) {
|
||||
if (blockId == Block.sand.blockID) {
|
||||
generateSurfaceDeposit(world, rand, i, j, k, 3);
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
boolean mediumDeposit = rand.nextDouble() <= (0.15 / 100.0);
|
||||
boolean largeDeposit = rand.nextDouble() <= (0.005 / 100.0);
|
||||
|
|
Loading…
Reference in a new issue