More tweaks to Tree Feller

This commit is contained in:
nossr50
2012-02-23 01:59:00 -08:00
parent 86166a58e1
commit 37364d6c86
2 changed files with 6 additions and 4 deletions

View File

@ -143,6 +143,7 @@ public class Herbalism
mat = Material.getMaterial(296);
is = new ItemStack(mat, 1, (byte)0, (byte)0);
PP.addXP(SkillType.HERBALISM, LoadProperties.mwheat, player);
if(player != null)
{
if(herbLevel > 1000 || (Math.random() * 1000 <= herbLevel))