Paper/nms-patches/WorldGenMegaTreeProvider.patch

11 lines
449 B
Diff
Raw Normal View History

--- a/net/minecraft/server/WorldGenMegaTreeProvider.java
+++ b/net/minecraft/server/WorldGenMegaTreeProvider.java
2019-04-23 04:00:00 +02:00
@@ -29,6 +29,7 @@
2019-12-10 23:00:00 +01:00
if (worldgenfeatureconfigured == null) {
return false;
} else {
2019-12-10 23:00:00 +01:00
+ setTreeType(worldgenfeatureconfigured); // CraftBukkit
IBlockData iblockdata1 = Blocks.AIR.getBlockData();
2019-04-23 04:00:00 +02:00
generatoraccess.setTypeAndData(blockposition.b(i, 0, j), iblockdata1, 4);