Setup Fishing XP Methods

This commit is contained in:
nossr50
2019-04-10 03:32:49 -07:00
parent e156d6d5ef
commit 2170c6de24
6 changed files with 86 additions and 19 deletions

View File

@@ -160,11 +160,6 @@ public class ExperienceConfig extends ConfigValidated {
/*
* XP SETTINGS
*/
/* Archery */
if (getArcheryDistanceMultiplier() < 0) {
reason.add(EXPERIENCE + "." + ARCHERY + "." + DISTANCE + MULTIPLIER + " should be at least 0!");
}
/* Combat XP Multipliers */
if (getAnimalsXP() < 0) {
reason.add(EXPERIENCE + "." + COMBAT + "." + MULTIPLIER + "." + ANIMALS + " should be at least 0!");
@@ -379,11 +374,6 @@ public class ExperienceConfig extends ConfigValidated {
return BarStyle.SOLID;
}
/* Archery */
public double getArcheryDistanceMultiplier() {
return getDoubleValue(EXPERIENCE, ARCHERY, DISTANCE + MULTIPLIER);
}
public int getFishingShakeXP() {
return getIntValue(EXPERIENCE, FISHING, SHAKE);
}