Fixed Tree Feller dropping too many saplings

This commit is contained in:
nossr50 2012-02-24 03:41:43 -08:00
parent e42b9db159
commit 04f13ab090

View File

@ -140,6 +140,7 @@ public class WoodCutting
item = new ItemStack(mat, 1, (short)0, (byte)(x.getData()-8)); item = new ItemStack(mat, 1, (short)0, (byte)(x.getData()-8));
//90% chance to drop sapling //90% chance to drop sapling
if(Math.random() * 10 > 9)
m.mcRandomDropItem(x.getLocation(), item, 90); m.mcRandomDropItem(x.getLocation(), item, 90);
//Remove the block //Remove the block