summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-12-10 11:14:39 +1100
committermd_5 <git@md-5.net>2018-12-10 11:14:39 +1100
commit7fa173e6d18e848f04534fe87d22a05be016fda1 (patch)
tree6d210f2040abef54ace426912cead0f890319042
parentcc1e3497dba8a747701e196c4824970cefc83642 (diff)
downloadcraftbukkit-7fa173e6d18e848f04534fe87d22a05be016fda1.tar
craftbukkit-7fa173e6d18e848f04534fe87d22a05be016fda1.tar.gz
craftbukkit-7fa173e6d18e848f04534fe87d22a05be016fda1.tar.lz
craftbukkit-7fa173e6d18e848f04534fe87d22a05be016fda1.tar.xz
craftbukkit-7fa173e6d18e848f04534fe87d22a05be016fda1.zip
Remove unnecessary line in BlockMushroom
-rw-r--r--nms-patches/BlockMushroom.patch12
1 files changed, 2 insertions, 10 deletions
diff --git a/nms-patches/BlockMushroom.patch b/nms-patches/BlockMushroom.patch
index 0787a57c..a9c3ba3c 100644
--- a/nms-patches/BlockMushroom.patch
+++ b/nms-patches/BlockMushroom.patch
@@ -11,15 +11,7 @@
public class BlockMushroom extends BlockPlant implements IBlockFragilePlantElement {
protected static final VoxelShape a = Block.a(5.0D, 0.0D, 5.0D, 11.0D, 6.0D, 11.0D);
-@@ -16,6 +20,7 @@
- }
-
- public void a(IBlockData iblockdata, World world, BlockPosition blockposition, Random random) {
-+ final int sourceX = blockposition.getX(), sourceY = blockposition.getY(), sourceZ = blockposition.getZ(); // CraftBukkit
- if (random.nextInt(25) == 0) {
- int i = 5;
- boolean flag = true;
-@@ -43,7 +48,7 @@
+@@ -43,7 +47,7 @@
}
if (world.isEmpty(blockposition2) && iblockdata.canPlace(world, blockposition2)) {
@@ -28,7 +20,7 @@
}
}
-@@ -66,8 +71,10 @@
+@@ -66,8 +70,10 @@
WorldGenerator worldgenerator = null;
if (this == Blocks.BROWN_MUSHROOM) {