From 7fa173e6d18e848f04534fe87d22a05be016fda1 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 10 Dec 2018 11:14:39 +1100 Subject: Remove unnecessary line in BlockMushroom --- nms-patches/BlockMushroom.patch | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'nms-patches') 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) { -- cgit v1.2.3