Merge branch 'master' of github.com:mcMMO-Dev/mcMMO

This commit is contained in:
nossr50 2012-03-22 13:43:19 -07:00
commit bb06e193bc

View File

@ -141,7 +141,7 @@ public class WoodCutting {
m.mcDropItem(x.getLocation(), item); m.mcDropItem(x.getLocation(), item);
} }
else if (x.getType() == Material.LEAVES) { 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 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); m.mcRandomDropItem(x.getLocation(), item, SAPLING_DROP_CHANCE);