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 04:00:00 +02:00
@@ -29,6 +29,7 @@
if (worldgentreeabstract == null) {
return false;
} else {
2018-07-28 00:41:45 +02:00
+ setTreeType(worldgentreeabstract); // CraftBukkit
IBlockData iblockdata1 = Blocks.AIR.getBlockData();
2019-04-23 04:00:00 +02:00
generatoraccess.setTypeAndData(blockposition.b(i, 0, j), iblockdata1, 4);