diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-02-15 22:38:07 -0500 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-02-15 22:38:07 -0500 |
commit | 5fb8f923374e32adf4fadf6c9b0e7fe8dade0418 (patch) | |
tree | b97ba1a45b87b5699c3429da7a121e752b776723 /src/main/java/me/Danker/commands/SkillsCommand.java | |
parent | 50783f6024e876436380303b53dcea7d58d9a1bc (diff) | |
download | SkyblockMod-5fb8f923374e32adf4fadf6c9b0e7fe8dade0418.tar.gz SkyblockMod-5fb8f923374e32adf4fadf6c9b0e7fe8dade0418.tar.bz2 SkyblockMod-5fb8f923374e32adf4fadf6c9b0e7fe8dade0418.zip |
Add mining 60 support in /skills when using achievement API
Diffstat (limited to 'src/main/java/me/Danker/commands/SkillsCommand.java')
-rw-r--r-- | src/main/java/me/Danker/commands/SkillsCommand.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/commands/SkillsCommand.java b/src/main/java/me/Danker/commands/SkillsCommand.java index 2d5cf78..362777f 100644 --- a/src/main/java/me/Danker/commands/SkillsCommand.java +++ b/src/main/java/me/Danker/commands/SkillsCommand.java @@ -141,7 +141,7 @@ public class SkillsCommand 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); |