aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/TheMod.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-10-06 11:39:43 -0400
committerbowser0000 <bowser0000@gmail.com>2020-10-06 11:39:43 -0400
commita0ab465c3d39eac177f45d2b2f6903a27be3ba61 (patch)
treea9c3b83e48ea4efeca5fb399a99049d1de915250 /src/main/java/me/Danker/TheMod.java
parent0379a3c43be18b22d77056eb5b26b4f239d9988e (diff)
downloadSkyblockMod-a0ab465c3d39eac177f45d2b2f6903a27be3ba61.tar.gz
SkyblockMod-a0ab465c3d39eac177f45d2b2f6903a27be3ba61.tar.bz2
SkyblockMod-a0ab465c3d39eac177f45d2b2f6903a27be3ba61.zip
Fix skill50display freezing action bar
Diffstat (limited to 'src/main/java/me/Danker/TheMod.java')
-rw-r--r--src/main/java/me/Danker/TheMod.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/TheMod.java b/src/main/java/me/Danker/TheMod.java
index 973a0da..5af08ac 100644
--- a/src/main/java/me/Danker/TheMod.java
+++ b/src/main/java/me/Danker/TheMod.java
@@ -243,7 +243,7 @@ public class TheMod
String[] actionBarSections = event.message.getUnformattedText().split(" {3,}");
for (String section : actionBarSections) {
if (tc.skill50DisplayToggled) {
- if (section.contains("(")) {
+ if (section.contains("+") && section.contains("/") && section.contains("(")) {
if (section.contains("Runecrafting")) return;
String xpGained = section.substring(section.indexOf("+"), section.indexOf("(") - 1);