diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-02-22 08:21:49 -0500 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-02-22 08:21:49 -0500 |
commit | 39fd27efe81309f4c7ecda700f76a17a1e34a729 (patch) | |
tree | 85ad05af561f133f490dbe943edd47d50ea9ddfe /src/main | |
parent | cfe4900103271886de3cd44c058e3e228a0473bd (diff) | |
download | SkyblockMod-39fd27efe81309f4c7ecda700f76a17a1e34a729.tar.gz SkyblockMod-39fd27efe81309f4c7ecda700f76a17a1e34a729.tar.bz2 SkyblockMod-39fd27efe81309f4c7ecda700f76a17a1e34a729.zip |
Add mining 60 support to /lobbyskills
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/me/Danker/commands/LobbySkillsCommand.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/commands/LobbySkillsCommand.java b/src/main/java/me/Danker/commands/LobbySkillsCommand.java index e5bf98c..61ceea7 100644 --- a/src/main/java/me/Danker/commands/LobbySkillsCommand.java +++ b/src/main/java/me/Danker/commands/LobbySkillsCommand.java @@ -100,7 +100,7 @@ public class LobbySkillsCommand extends CommandBase { farmingLevel = (double) Math.round(farmingLevel * 100) / 100; } if (latestProfile.has("experience_skill_mining")) { - miningLevel = Utils.xpToSkillLevel(latestProfile.get("experience_skill_mining").getAsDouble(), 50); + miningLevel = Utils.xpToSkillLevel(latestProfile.get("experience_skill_mining").getAsDouble(), 60); miningLevel = (double) Math.round(miningLevel * 100) / 100; } if (latestProfile.has("experience_skill_combat")) { @@ -143,7 +143,7 @@ public class LobbySkillsCommand extends CommandBase { farmingLevel = achievementObject.get("skyblock_harvester").getAsInt(); } if (achievementObject.has("skyblock_excavator")) { - miningLevel = Math.min(achievementObject.get("skyblock_excavator").getAsInt(), 50); + miningLevel = achievementObject.get("skyblock_excavator").getAsInt(); } if (achievementObject.has("skyblock_combat")) { combatLevel = Math.min(achievementObject.get("skyblock_combat").getAsInt(), 50); |