diff options
Diffstat (limited to 'nms-patches')
-rw-r--r-- | nms-patches/BlockMushroom.patch | 12 |
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) { |