aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-10-31 10:23:53 +0000
committerGitHub <noreply@github.com>2022-10-31 11:23:53 +0100
commit41d1093d34599a903df4b4cbbd76067dc7e6ce9e (patch)
tree9bd5d806919642d5301ff2d0937428f202a1ce99 /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures
parent20eafeea6e1f904e114f4cae6bf0e202469322fa (diff)
downloadnotenoughupdates-41d1093d34599a903df4b4cbbd76067dc7e6ce9e.tar.gz
notenoughupdates-41d1093d34599a903df4b4cbbd76067dc7e6ce9e.tar.bz2
notenoughupdates-41d1093d34599a903df4b4cbbd76067dc7e6ce9e.zip
Fix picknimbus not working for ability cooldown (#398)
* add PICKONIMBUS to pickaxe * fixed yelling at you * unsure why it was like that * Chatting * Watching
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java
index f68f3c58..4fc63734 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/ItemCooldowns.java
@@ -150,9 +150,7 @@ public class ItemCooldowns {
} else if (internalname.contains("_DRILL_")) {
char lastChar = internalname.charAt(internalname.length() - 1);
return lastChar >= '0' && lastChar <= '9';
- } else if (internalname.equals("DIVAN_DRILL")) {
- return true;
- } else return internalname.equals("GEMSTONE_GAUNTLET");
+ } else return internalname.equals("GEMSTONE_GAUNTLET") || internalname.equals("PICKONIMBUS") || internalname.equals("DIVAN_DRILL");
}
private static void updatePickaxeCooldown() {