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

@@ -39,7 +39,7 @@ public class GainXp implements Runnable {
damage += health;
}
PP.addXP(skillType, (int) (damage * baseXp));
PP.addXP(player, skillType, (int) (damage * baseXp));
Skills.XpCheckSkill(skillType, player);
}
}