aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2021-02-22 08:21:49 -0500
committerbowser0000 <bowser0000@gmail.com>2021-02-22 08:21:49 -0500
commit39fd27efe81309f4c7ecda700f76a17a1e34a729 (patch)
tree85ad05af561f133f490dbe943edd47d50ea9ddfe /src/main/java
parentcfe4900103271886de3cd44c058e3e228a0473bd (diff)
downloadSkyblockMod-39fd27efe81309f4c7ecda700f76a17a1e34a729.tar.gz
SkyblockMod-39fd27efe81309f4c7ecda700f76a17a1e34a729.tar.bz2
SkyblockMod-39fd27efe81309f4c7ecda700f76a17a1e34a729.zip
Add mining 60 support to /lobbyskills
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/me/Danker/commands/LobbySkillsCommand.java4
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);