PaperMC/nms-patches/WorldGenMegaTreeProvider.patch
2019-12-11 09:00:00 +11:00

10 lines
449 B
Diff

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