Fixed saplings dropping WAY too often from Woodcutting.

This commit is contained in:
GJ 2012-03-22 16:36:54 -04:00
parent 5ae15bfb71
commit cab9850fe3

View File

@ -141,7 +141,7 @@ public class WoodCutting {
m.mcDropItem(x.getLocation(), item);
}
else if (x.getType() == Material.LEAVES) {
final int SAPLING_DROP_CHANCE = 90;
final int SAPLING_DROP_CHANCE = 10;
item = new ItemStack(Material.SAPLING, 1, (short) 0, (byte) (x.getData() & 3)); //Drop the right type of sapling
m.mcRandomDropItem(x.getLocation(), item, SAPLING_DROP_CHANCE);