wire up taming XP

This commit is contained in:
nossr50
2019-04-30 01:46:59 -07:00
parent e5441f2a96
commit 2efa64ae17
3 changed files with 21 additions and 16 deletions

View File

@@ -106,7 +106,7 @@ public class TamingManager extends SkillManager {
* @param entity The LivingEntity to award XP for
*/
public void awardTamingXP(LivingEntity entity) {
applyXpGain(ExperienceConfig.getInstance().getTamingXP(entity.getType()), XPGainReason.PVE);
applyXpGain(mcMMO.getConfigManager().getExperienceMapManager().getTamingXp(entity.getType()), XPGainReason.PVE);
}
/**