summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockSapling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/BlockSapling.patch')
-rw-r--r--nms-patches/BlockSapling.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/nms-patches/BlockSapling.patch b/nms-patches/BlockSapling.patch
index 42df791c..bce7652f 100644
--- a/nms-patches/BlockSapling.patch
+++ b/nms-patches/BlockSapling.patch
@@ -21,7 +21,7 @@
+ public static TreeType treeType; // CraftBukkit
protected BlockSapling() {
- this.w(this.blockStateList.getBlockData().set(BlockSapling.TYPE, BlockWood.EnumLogVariant.OAK).set(BlockSapling.STAGE, Integer.valueOf(0)));
+ this.y(this.blockStateList.getBlockData().set(BlockSapling.TYPE, BlockWood.EnumLogVariant.OAK).set(BlockSapling.STAGE, Integer.valueOf(0)));
@@ -25,7 +35,30 @@
if (!world.isClientSide) {
super.b(world, blockposition, iblockdata, random);
@@ -89,7 +89,7 @@
}
break;
- case 2:
+ case BIRCH:
+ treeType = TreeType.BIRCH; // CraftBukkit
object = new WorldGenForest(true, false);
break;
@@ -111,7 +111,7 @@
}
break;
- case 4:
+ case ACACIA:
+ treeType = TreeType.ACACIA; // CraftBukkit
object = new WorldGenAcaciaTree(true);
break;