diff options
author | RayDeeUx <raydeeux@gmail.com> | 2022-08-19 11:01:29 -0400 |
---|---|---|
committer | RayDeeUx <raydeeux@gmail.com> | 2022-08-19 11:01:29 -0400 |
commit | 62d9012e1b9b5a3337f5a9f0e01fd684c860a4ce (patch) | |
tree | 4270337e299f58487a1f0851303e5ed44bb50584 /src/main/java/com/thatgravyboat/skyblockhud/mixins | |
parent | d6751da4434b97237d278e1666c031084cd57934 (diff) | |
download | SkyblockHud-Death-Defied-62d9012e1b9b5a3337f5a9f0e01fd684c860a4ce.tar.gz SkyblockHud-Death-Defied-62d9012e1b9b5a3337f5a9f0e01fd684c860a4ce.tar.bz2 SkyblockHud-Death-Defied-62d9012e1b9b5a3337f5a9f0e01fd684c860a4ce.zip |
#BanishTheCommas
Diffstat (limited to 'src/main/java/com/thatgravyboat/skyblockhud/mixins')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/mixins/MixinItemStack.java | 2 |
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) {} } } |