Added Player to addXP arguments, avoids getPlayer call

This commit is contained in:
bm01
2012-04-24 01:48:57 +02:00
parent 116adb1167
commit 52cbd15dea
11 changed files with 16 additions and 18 deletions

View File

@@ -252,7 +252,7 @@ public class Herbalism {
}
}
PP.addXP(SkillType.HERBALISM, xp);
PP.addXP(player, SkillType.HERBALISM, xp);
Skills.XpCheckSkill(SkillType.HERBALISM, player);
}