aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyeyoung <cyougn06@naver.com>2021-12-18 16:35:40 +0900
committersyeyoung <cyougn06@naver.com>2021-12-18 16:35:40 +0900
commit8d2ce1c1ae54736725a65dc8ca4066c959055814 (patch)
tree4c9c6c09f1b2e0ed83c92527536603147f6dfef6 /src
parentcf85fc904bdcb14af850e1f84b5c585d07f18055 (diff)
downloadSkyblock-Dungeons-Guide-8d2ce1c1ae54736725a65dc8ca4066c959055814.tar.gz
Skyblock-Dungeons-Guide-8d2ce1c1ae54736725a65dc8ca4066c959055814.tar.bz2
Skyblock-Dungeons-Guide-8d2ce1c1ae54736725a65dc8ca4066c959055814.zip
- Index out of bounds (-1)
Diffstat (limited to 'src')
-rw-r--r--src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/customgui/PanelPartyListElement.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/customgui/PanelPartyListElement.java b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/customgui/PanelPartyListElement.java
index b98598e4..1def0528 100644
--- a/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/customgui/PanelPartyListElement.java
+++ b/src/main/java/kr/syeyoung/dungeonsguide/features/impl/party/customgui/PanelPartyListElement.java
@@ -108,7 +108,7 @@ public class PanelPartyListElement extends MPanel {
}
}
- boolean nodupe = note.toLowerCase().contains("nodupe") || note.toLowerCase().contains("no dupe") || (note.toLowerCase().contains("nd") && (note.indexOf("nd") == 0 || note.charAt(note.indexOf("nd")-1) == ' '));
+ boolean nodupe = note.toLowerCase().contains("nodupe") || note.toLowerCase().contains("no dupe") || (note.toLowerCase().contains("nd") && (note.toLowerCase().indexOf("nd") == 0 || note.charAt(note.toLowerCase().indexOf("nd")-1) == ' '));
note = note.replaceAll("(?i)(S\\+)", "§6$1§r");
note = note.replaceAll("(?i)(carry)", "§4$1§r");