summaryrefslogtreecommitdiffstats
path: root/nms-patches/WorldGenMegaTreeProvider.patch
blob: 74037fdd084fa30a8afdd502f5794634bd087d44 (plain)
1
2
3
4
5
6
7
8
9
10
--- a/net/minecraft/server/WorldGenMegaTreeProvider.java
+++ b/net/minecraft/server/WorldGenMegaTreeProvider.java
@@ -28,6 +28,7 @@
         if (worldgentreeabstract == null) {
             return false;
         } else {
+            setTreeType(worldgentreeabstract); // CraftBukkit
             IBlockData iblockdata1 = Blocks.AIR.getBlockData();
 
             generatoraccess.setTypeAndData(blockposition.a(i, 0, j), iblockdata1, 4);