mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 04:25:26 +01:00
Remove unnecessary line in BlockMushroom
This commit is contained in:
parent
cc1e3497db
commit
7fa173e6d1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user