Refixed NPE due to GainXp task

This commit is contained in:
bm01
2012-05-06 09:47:25 +02:00
parent 1b37ba8daa
commit 3e435c419a
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);
}
}