aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/features/SkillTracker.java
diff options
context:
space:
mode:
authorRabbitType99 <luis.be@gmx.de>2021-03-10 20:14:26 +0100
committerRabbitType99 <luis.be@gmx.de>2021-03-10 20:14:26 +0100
commit2c3838f8144959e3db3f60de8ce3c8d7ce799b9a (patch)
treed3e0e17e63900c45a76a194ed6bd8a6df3664f2e /src/main/java/me/Danker/features/SkillTracker.java
parentb9fb3b6a33d1fac17859e1821a0de1b7d41191b5 (diff)
parentdbad2bfbec9a2b1c8ac72ff0516a1a3d543339d6 (diff)
downloadSkyblockMod-2c3838f8144959e3db3f60de8ce3c8d7ce799b9a.tar.gz
SkyblockMod-2c3838f8144959e3db3f60de8ce3c8d7ce799b9a.tar.bz2
SkyblockMod-2c3838f8144959e3db3f60de8ce3c8d7ce799b9a.zip
Merge branch 'development' into InstallerFrame
Diffstat (limited to 'src/main/java/me/Danker/features/SkillTracker.java')
-rw-r--r--src/main/java/me/Danker/features/SkillTracker.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/features/SkillTracker.java b/src/main/java/me/Danker/features/SkillTracker.java
index 15e9fdd..60eb632 100644
--- a/src/main/java/me/Danker/features/SkillTracker.java
+++ b/src/main/java/me/Danker/features/SkillTracker.java
@@ -63,7 +63,7 @@ public class SkillTracker {
}
timeSinceGained = System.currentTimeMillis() / 1000;
- int limit = section.contains("Farming") || section.contains("Enchanting") || section.contains("Mining") ? 60 : 50;
+ int limit = section.contains("Farming") || section.contains("Enchanting") || section.contains("Mining") || section.contains("Combat") ? 60 : 50;
double currentXP = Double.parseDouble(section.substring(section.indexOf("(") + 1, section.indexOf("/")).replace(",", ""));
int xpToLevelUp = Integer.parseInt(section.substring(section.indexOf("/") + 1, section.indexOf(")")).replaceAll(",", ""));
xpLeft = xpToLevelUp - currentXP;