aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/Danker/TheMod.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-09-05 17:23:55 -0400
committerbowser0000 <bowser0000@gmail.com>2020-09-05 17:23:55 -0400
commit562bee5f4800efadc5b25e54f3541c0770440a49 (patch)
tree84daed9145d6adda13381783c7161dd13c1eb7df /src/main/java/me/Danker/TheMod.java
parent96a03b43211dcc3e045449a8d5cb13191c15113e (diff)
downloadSkyblockMod-562bee5f4800efadc5b25e54f3541c0770440a49.tar.gz
SkyblockMod-562bee5f4800efadc5b25e54f3541c0770440a49.tar.bz2
SkyblockMod-562bee5f4800efadc5b25e54f3541c0770440a49.zip
Don't colour dungeon classes, fix /resetloot catacombs and update README
Diffstat (limited to 'src/main/java/me/Danker/TheMod.java')
-rw-r--r--src/main/java/me/Danker/TheMod.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/TheMod.java b/src/main/java/me/Danker/TheMod.java
index ac3de48..29eed1e 100644
--- a/src/main/java/me/Danker/TheMod.java
+++ b/src/main/java/me/Danker/TheMod.java
@@ -1652,7 +1652,9 @@ public class TheMod
for (Slot slot : invSlots) {
ItemStack item = slot.getStack();
if (item == null) continue;
- if (item.getDisplayName().contains("[Lvl ")) {
+ String name = item.getDisplayName();
+ if (name.contains("[Lvl ")) {
+ if (name.endsWith("aHealer") || name.endsWith("aMage") || name.endsWith("aBerserk") || name.endsWith("aArcher") || name.endsWith("aTank")) continue;
int colour;
int petLevel = Integer.parseInt(item.getDisplayName().substring(item.getDisplayName().indexOf(" ") + 1, item.getDisplayName().indexOf("]")));
if (petLevel == 100) {