mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-23 07:40:29 +02:00
Added Player to addXP arguments, avoids getPlayer call
This commit is contained in:
@@ -252,7 +252,7 @@ public class Herbalism {
|
||||
}
|
||||
}
|
||||
|
||||
PP.addXP(SkillType.HERBALISM, xp);
|
||||
PP.addXP(player, SkillType.HERBALISM, xp);
|
||||
Skills.XpCheckSkill(SkillType.HERBALISM, player);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user