diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-08-06 14:33:34 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-08-06 14:33:34 -0400 |
commit | a40b6338955f469f4a476b0d9b0ff61952289bcb (patch) | |
tree | ddf11b2fbfd59709f83855e21c4517ff1e8d1f27 /src/main/java/me/Danker/features | |
parent | fa5dc4e65ac16552fc714ab8b5f9753ad0061a4e (diff) | |
download | SkyblockMod-a40b6338955f469f4a476b0d9b0ff61952289bcb.tar.gz SkyblockMod-a40b6338955f469f4a476b0d9b0ff61952289bcb.tar.bz2 SkyblockMod-a40b6338955f469f4a476b0d9b0ff61952289bcb.zip |
Fix slayer 20% drops only counting as 1
Also add missing lines in /dsmfarmlength
Diffstat (limited to 'src/main/java/me/Danker/features')
-rw-r--r-- | src/main/java/me/Danker/features/loot/LootTracker.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/features/loot/LootTracker.java b/src/main/java/me/Danker/features/loot/LootTracker.java index 58f5a54..8a2739a 100644 --- a/src/main/java/me/Danker/features/loot/LootTracker.java +++ b/src/main/java/me/Danker/features/loot/LootTracker.java @@ -1318,7 +1318,7 @@ public class LootTracker { } public int getAmountfromMessage(String message) { - if (message.charAt(message.indexOf("(") + 1) == 'x') { + if (message.charAt(message.indexOf("(") + 2) == 'x') { return Integer.parseInt(message.substring(message.indexOf("(") + 1, message.indexOf("x"))); } else { return 1; |