From 5fb8f923374e32adf4fadf6c9b0e7fe8dade0418 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Mon, 15 Feb 2021 22:38:07 -0500 Subject: Add mining 60 support in /skills when using achievement API --- src/main/java/me/Danker/commands/SkillsCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit