aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/TheMod.java
diff options
context:
space:
mode:
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);