aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/GT_Worldgen_Stone.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/common/GT_Worldgen_Stone.java')
-rw-r--r--src/main/java/gregtech/common/GT_Worldgen_Stone.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/gregtech/common/GT_Worldgen_Stone.java b/src/main/java/gregtech/common/GT_Worldgen_Stone.java
index 17e47cb138..835f9d5c67 100644
--- a/src/main/java/gregtech/common/GT_Worldgen_Stone.java
+++ b/src/main/java/gregtech/common/GT_Worldgen_Stone.java
@@ -257,9 +257,7 @@ public class GT_Worldgen_Stone extends GT_Worldgen_Ore {
double zCalc = ((double) (iZ - tZ) * zSize);
zCalc = zCalc * zCalc;
leftHandSize = zCalc + xCalc + yCalc;
- if (leftHandSize > rightHandSide) {
- continue;
- } else {
+ if (leftHandSize <= rightHandSide) {
// Yay! We can actually place a block now. (this part copied from original code)
Block tTargetedBlock = aWorld.getBlock(iX, iY, iZ);
if (tTargetedBlock instanceof GT_Block_Ores_Abstract) {