aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/thatgravyboat/skyblockhud/mixins
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/mixins')
-rw-r--r--src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinItemStack.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinItemStack.java b/src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinItemStack.java
index 1f372ad..47c6f77 100644
--- a/src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinItemStack.java
+++ b/src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinItemStack.java
@@ -24,7 +24,7 @@ public class MixinItemStack implements IAbility {
if (abilityMatcher != null) {
ability = abilityMatcher.group(1);
try {
- abilityTime = Integer.parseInt(abilityMatcher.group(2).trim());
+ abilityTime = Integer.parseInt(abilityMatcher.group(2).trim().replaceAll(",", ""));
} catch (Exception ignored) {}
}
}