aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-02-15 22:38:07 -0500
committerbowser0000 <bowser0000@gmail.com>2021-02-15 22:38:07 -0500
commit5fb8f923374e32adf4fadf6c9b0e7fe8dade0418 (patch)
treeb97ba1a45b87b5699c3429da7a121e752b776723 /src/main
parent50783f6024e876436380303b53dcea7d58d9a1bc (diff)
downloadSkyblockMod-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')
-rw-r--r--src/main/java/me/Danker/commands/SkillsCommand.java2
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);