From d614df65a7415aa6b75a0725a8ed6e91585a1440 Mon Sep 17 00:00:00 2001 From: nossr50 Date: Sun, 12 May 2019 03:48:25 -0700 Subject: [PATCH] unbox some floats --- .../hocon/experience/ConfigExperienceSkills.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceSkills.java b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceSkills.java index 8993cd0bc..9170d94f4 100644 --- a/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceSkills.java +++ b/src/main/java/com/gmail/nossr50/config/hocon/experience/ConfigExperienceSkills.java @@ -47,7 +47,7 @@ public class ConfigExperienceSkills { * BOILER PLATE GETTERS */ - public Float getPlayerBredMobsXPMult() { + public float getPlayerBredMobsXPMult() { return experienceCombat.getPlayerBredMobsXPMult(); } @@ -115,7 +115,7 @@ public class ConfigExperienceSkills { return experienceRepair.getItemMaterialXPMultiplier(); } - public Float getRepairXPBase() { + public float getRepairXPBase() { return experienceRepair.getRepairXPBase(); } @@ -123,7 +123,7 @@ public class ConfigExperienceSkills { return experienceAcrobatics.getAcrobaticsXPMap(); } - public Float getFeatherFallMultiplier() { + public float getFeatherFallMultiplier() { return experienceAcrobatics.getFeatherFallMultiplier(); } @@ -175,7 +175,7 @@ public class ConfigExperienceSkills { return experienceCombat.getSpecialCombatExperienceMap(); } - public Float getDistanceMultiplier() { + public float getDistanceMultiplier() { return experienceArchery.getDistanceMultiplier(); } @@ -199,15 +199,15 @@ public class ConfigExperienceSkills { return experienceFishing.getShakeXP(); } - public Float getSpawnedMobXPMult() { + public float getSpawnedMobXPMult() { return experienceCombat.getSpawnedMobXPMult(); } - public Float getPVPXPMult() { + public float getPVPXPMult() { return experienceCombat.getPVPXPMult(); } - public Float getAnimalsXPMult() { + public float getAnimalsXPMult() { return experienceCombat.getAnimalsXPMult(); } }