Fixed a couple bugs from the Oil commit

This commit is contained in:
CovertJaguar 2013-05-02 02:59:30 -07:00
parent 52ffd07bb3
commit 0b44d97359
2 changed files with 6 additions and 4 deletions

View file

@ -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;

View file

@ -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;
}
}