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

@@ -254,9 +254,4 @@ public class ExperienceConfig extends ConfigValidated {
public double getRepairXP(ItemMaterialCategory repairItemMaterialCategory) {
return getDoubleValue(EXPERIENCE, REPAIR, StringUtils.getCapitalized(repairItemMaterialCategory.toString()));
}
/* Taming */
public int getTamingXP(EntityType type) {
return getIntValue(EXPERIENCE, TAMING, ANIMAL_TAMING, StringUtils.getEntityConfigName(type));
}
}