diff --git a/src/minecraft/biomesoplenty/blocks/BlockBOPAppleLeaves.java b/src/minecraft/biomesoplenty/blocks/BlockBOPAppleLeaves.java index 0d7b9803c..ef9830dfc 100644 --- a/src/minecraft/biomesoplenty/blocks/BlockBOPAppleLeaves.java +++ b/src/minecraft/biomesoplenty/blocks/BlockBOPAppleLeaves.java @@ -225,16 +225,15 @@ public class BlockBOPAppleLeaves extends BlockLeavesBase implements IShearable @Override public boolean onBlockActivated (World world, int x, int y, int z, EntityPlayer player, int par6, float par7, float par8, float par9) { - if (world.isRemote) - return false; - int meta = world.getBlockMetadata(x, y, z); if ((meta & 3) == 3) { world.setBlock(x, y, z, blockID, meta - 3, 3); EntityItem entityitem = new EntityItem(world, player.posX, player.posY - 1.0D, player.posZ, new ItemStack(Item.appleRed, 1, 0)); - world.spawnEntityInWorld(entityitem); - entityitem.onCollideWithPlayer(player); + if (!world.isRemote) { + world.spawnEntityInWorld(entityitem); + entityitem.onCollideWithPlayer(player); + } return true; } else