summaryrefslogtreecommitdiffstats
path: root/nms-patches/WorldGenGroundBush.patch
blob: 4afb31ce105c3eb0cb7c1fb6f222b285245ca8f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- a/net/minecraft/server/WorldGenGroundBush.java
+++ b/net/minecraft/server/WorldGenGroundBush.java
@@ -46,7 +46,12 @@
                     }
                 }
             }
+        // CraftBukkit start - Return false if gen was unsuccessful
+        } else {
+            return false;
         }
+        // CraftBukkit end
+
 
         return true;
     }