Archiviert
13
0

Remove unnecessary line in BlockMushroom

Dieser Commit ist enthalten in:
md_5 2018-12-10 11:14:39 +11:00
Ursprung cc1e3497db
Commit 7fa173e6d1

Datei anzeigen

@ -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) {