aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKal Draganov <kaldraganov05@gmail.com>2020-12-11 16:19:19 -0500
committerKal Draganov <kaldraganov05@gmail.com>2020-12-11 16:19:19 -0500
commit15a89aeb93855b9c64631a18c3cb76cc7b2ce735 (patch)
tree85021bd94b576cd000caa4ca19a6a9a3a803862a /src
parentc91677bc9c6aeeed2eb52ae2e5477aba1a3be853 (diff)
downloadSkyblockMod-15a89aeb93855b9c64631a18c3cb76cc7b2ce735.tar.gz
SkyblockMod-15a89aeb93855b9c64631a18c3cb76cc7b2ce735.tar.bz2
SkyblockMod-15a89aeb93855b9c64631a18c3cb76cc7b2ce735.zip
Update DankersSkyblockMod.java
Diffstat (limited to 'src')
-rw-r--r--src/main/java/me/Danker/DankersSkyblockMod.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/me/Danker/DankersSkyblockMod.java b/src/main/java/me/Danker/DankersSkyblockMod.java
index f8781c3..b3622bb 100644
--- a/src/main/java/me/Danker/DankersSkyblockMod.java
+++ b/src/main/java/me/Danker/DankersSkyblockMod.java
@@ -3139,9 +3139,7 @@ public class DankersSkyblockMod
}
if (ToggleCommand.selectAllToggled && Utils.inDungeons && displayName.startsWith("Select all the")) {
- String colour = displayName.split(" ")[3];
-
- for (Slot slot : invSlots) {
+ for (Slot slot : invSlots) {
ItemStack item = slot.getStack();
if (item == null) continue;
if (item.getDisplayName().toUpperCase().contains(colour)) {