aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gtPlusPlus/xmod/bop/world/features
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gtPlusPlus/xmod/bop/world/features')
-rw-r--r--src/main/java/gtPlusPlus/xmod/bop/world/features/trees/WorldGenRainForestTree_Ex.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main/java/gtPlusPlus/xmod/bop/world/features/trees/WorldGenRainForestTree_Ex.java b/src/main/java/gtPlusPlus/xmod/bop/world/features/trees/WorldGenRainForestTree_Ex.java
index d3ad2efaea..c7207a3b5d 100644
--- a/src/main/java/gtPlusPlus/xmod/bop/world/features/trees/WorldGenRainForestTree_Ex.java
+++ b/src/main/java/gtPlusPlus/xmod/bop/world/features/trees/WorldGenRainForestTree_Ex.java
@@ -297,14 +297,11 @@ public class WorldGenRainForestTree_Ex extends WorldGenAbstractTree {
return false;
} else if (xDir == xDirMax - 1 && zDir == zDirMin + 1) {
return false;
- } else if (xDir == xDirMax - 1 && zDir == zDirMax - 1) {
- return false;
+ } else {
+ return xDir != xDirMax - 1 || zDir != zDirMax - 1;
}
- return true;
}
- return false;
- } else {
- return false;
}
+ return false;
}
}