aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/commands/SkillsCommand.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-12-04 19:56:31 -0500
committerbowser0000 <bowser0000@gmail.com>2020-12-04 19:56:31 -0500
commitc1ba7f1ffab9262cbf5c13e3377e4e927329d85b (patch)
treef9bccba2e3c2b676e1d7c7a128f9d89b2aeece2e /src/main/java/me/Danker/commands/SkillsCommand.java
parent5b733d004e77b791aeb754b355e9a35eba168f7d (diff)
downloadSkyblockMod-c1ba7f1ffab9262cbf5c13e3377e4e927329d85b.tar.gz
SkyblockMod-c1ba7f1ffab9262cbf5c13e3377e4e927329d85b.tar.bz2
SkyblockMod-c1ba7f1ffab9262cbf5c13e3377e4e927329d85b.zip
Add support for enchanting 60
Diffstat (limited to 'src/main/java/me/Danker/commands/SkillsCommand.java')
-rw-r--r--src/main/java/me/Danker/commands/SkillsCommand.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/me/Danker/commands/SkillsCommand.java b/src/main/java/me/Danker/commands/SkillsCommand.java
index 5ac4b8b..2d5cf78 100644
--- a/src/main/java/me/Danker/commands/SkillsCommand.java
+++ b/src/main/java/me/Danker/commands/SkillsCommand.java
@@ -112,7 +112,7 @@ public class SkillsCommand extends CommandBase {
fishingLevel = (double) Math.round(fishingLevel * 100) / 100;
}
if (userObject.has("experience_skill_enchanting")) {
- enchantingLevel = Utils.xpToSkillLevel(userObject.get("experience_skill_enchanting").getAsDouble(), 50);
+ enchantingLevel = Utils.xpToSkillLevel(userObject.get("experience_skill_enchanting").getAsDouble(), 60);
enchantingLevel = (double) Math.round(enchantingLevel * 100) / 100;
}
if (userObject.has("experience_skill_alchemy")) {
@@ -153,7 +153,7 @@ public class SkillsCommand extends CommandBase {
fishingLevel = Math.min(achievementObject.get("skyblock_angler").getAsInt(), 50);
}
if (achievementObject.has("skyblock_augmentation")) {
- enchantingLevel = Math.min(achievementObject.get("skyblock_augmentation").getAsInt(), 50);
+ enchantingLevel = achievementObject.get("skyblock_augmentation").getAsInt();
}
if (achievementObject.has("skyblock_concoctor")) {
alchemyLevel = Math.min(achievementObject.get("skyblock_concoctor").getAsInt(), 50);