diff options
author | Kal Draganov <kaldraganov05@gmail.com> | 2020-12-11 16:19:19 -0500 |
---|---|---|
committer | Kal Draganov <kaldraganov05@gmail.com> | 2020-12-11 16:19:19 -0500 |
commit | 15a89aeb93855b9c64631a18c3cb76cc7b2ce735 (patch) | |
tree | 85021bd94b576cd000caa4ca19a6a9a3a803862a | |
parent | c91677bc9c6aeeed2eb52ae2e5477aba1a3be853 (diff) | |
download | SkyblockMod-15a89aeb93855b9c64631a18c3cb76cc7b2ce735.tar.gz SkyblockMod-15a89aeb93855b9c64631a18c3cb76cc7b2ce735.tar.bz2 SkyblockMod-15a89aeb93855b9c64631a18c3cb76cc7b2ce735.zip |
Update DankersSkyblockMod.java
-rw-r--r-- | src/main/java/me/Danker/DankersSkyblockMod.java | 4 |
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)) { |