diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-02-24 20:11:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-24 20:11:04 -0500 |
commit | 435d8dfd5a7f36803ceefcbd245e814ec735aced (patch) | |
tree | ae0d424b6e7692e3c011988800fd6e64b7033686 /src/main/java/me/Danker/commands/LobbySkillsCommand.java | |
parent | 0bd7c6336f5866ea5513f85a3cedf5c48e375ab2 (diff) | |
parent | a2f85ba6b9d80be3026aa906783a21c0b05cb681 (diff) | |
download | SkyblockMod-1.8.5.tar.gz SkyblockMod-1.8.5.tar.bz2 SkyblockMod-1.8.5.zip |
1.8.5v1.8.5
Merge pull request #79 from bowser0000/development
Diffstat (limited to 'src/main/java/me/Danker/commands/LobbySkillsCommand.java')
-rw-r--r-- | src/main/java/me/Danker/commands/LobbySkillsCommand.java | 4 |
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); |