PaperMC/nms-patches/WorldGenMegaTreeProvider.patch

11 lines
439 B
Diff
Raw Normal View History

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