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,10 +64,12 @@ public class OilPopulate {
|
|||
int k = startZ + z;
|
||||
|
||||
int blockId = world.getBlockId(i, j, k);
|
||||
if (blockId != 0 && blockId == Block.sand.blockID) {
|
||||
generateSurfaceDeposit(world, rand, i, j, k, 3);
|
||||
if (blockId != 0) {
|
||||
if (blockId == Block.sand.blockID) {
|
||||
generateSurfaceDeposit(world, rand, i, j, k, 3);
|
||||
}
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue