Paper/nms-patches/WorldGenGroundBush.patch

23 lines
754 B
Diff
Raw Normal View History

2015-05-25 12:37:24 +02:00
--- a/net/minecraft/server/WorldGenGroundBush.java
+++ b/net/minecraft/server/WorldGenGroundBush.java
2019-12-10 23:00:00 +01:00
@@ -29,8 +29,19 @@
}
}
}
+ // CraftBukkit start - Return false if gen was unsuccessful
+ } else {
+ return false;
}
+ // CraftBukkit end
return true;
}
2019-12-10 23:00:00 +01:00
+
+ // 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
}