Fix bug with Leaf Blower.

This commit is contained in:
gmcferrin
2012-02-05 23:16:25 -05:00
parent 43e3dd7977
commit cbeb994b69
2 changed files with 3 additions and 7 deletions

View File

@ -213,12 +213,6 @@ public class WoodCutting
m.damageTool(player, (short) LoadProperties.abilityDurabilityLoss);
}
if(Math.random() * 10 > 9)
{
ItemStack x = new ItemStack(Material.SAPLING, 1, (short)0, (byte)(block.getData()-8));
m.mcDropItem(block.getLocation(), x);
}
if(LoadProperties.spoutEnabled)
SpoutStuff.playSoundForPlayer(SoundEffect.POP, player, block.getLocation());
}