diff options
author | bowser0000 <bowser0000@gmail.com> | 2021-11-24 18:04:34 -0500 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2021-11-24 18:04:34 -0500 |
commit | b733d88cb79942d4a260293d1bb1f2d27fcc61e2 (patch) | |
tree | 47cc19cc49a8c5c0feb20e73708efcd2da4968cc /src/main/java/me | |
parent | 871e4e7b1257ceb459cd78b33c9f4b107a8ab9bb (diff) | |
download | SkyblockMod-b733d88cb79942d4a260293d1bb1f2d27fcc61e2.tar.gz SkyblockMod-b733d88cb79942d4a260293d1bb1f2d27fcc61e2.tar.bz2 SkyblockMod-b733d88cb79942d4a260293d1bb1f2d27fcc61e2.zip |
Fix gemstone lore with mining, combat and defensive slots
Diffstat (limited to 'src/main/java/me')
-rw-r--r-- | src/main/java/me/Danker/features/GemstonesLore.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/Danker/features/GemstonesLore.java b/src/main/java/me/Danker/features/GemstonesLore.java index dfae746..c633c58 100644 --- a/src/main/java/me/Danker/features/GemstonesLore.java +++ b/src/main/java/me/Danker/features/GemstonesLore.java @@ -54,7 +54,7 @@ public class GemstonesLore { if (!Character.isDigit(last)) continue; String gemstone = " " + Utils.capitalizeString(gems.getString(gem)) + " "; - if (gem.startsWith("UNIVERSAL_")) { + if (gem.startsWith("UNIVERSAL_") || gem.startsWith("MINING_") || gem.startsWith("COMBAT_") || gem.startsWith("DEFENSIVE_")) { gemstone += Utils.capitalizeString(gems.getString(gem + "_gem")); } else { gemstone += Utils.capitalizeString(gem.substring(0, gem.indexOf("_"))); |