PaperMC/paper-server/nms-patches/WorldGenGroundBush.patch

23 lines
754 B
Diff
Raw Normal View History

--- a/net/minecraft/server/WorldGenGroundBush.java
+++ b/net/minecraft/server/WorldGenGroundBush.java
@@ -29,8 +29,19 @@
}
}
}
+ // CraftBukkit start - Return false if gen was unsuccessful
+ } else {
+ return false;
}
+ // CraftBukkit end
return true;
}
+
+ // CraftBukkit start - decompile error
+ @Override
+ public boolean generate(GeneratorAccess generatoraccess, ChunkGenerator<? extends GeneratorSettingsDefault> chunkgenerator, Random random, BlockPosition blockposition, WorldGenFeatureTreeConfiguration fc) {
+ return super.a(generatoraccess, chunkgenerator, random, blockposition, fc);
+ }
+ // CraftBukkit end
}