diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2022-10-05 12:51:23 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-04 21:51:23 -0400 |
commit | 7b647deee3d37847f2ca2a6895d837748800c6b6 (patch) | |
tree | be68664bfb932488554de7169941119fc2fce6f0 /src | |
parent | 34d049d2611dab85f6fee6c2f13a51e8f8e284bd (diff) | |
download | NotEnoughUpdates-7b647deee3d37847f2ca2a6895d837748800c6b6.tar.gz NotEnoughUpdates-7b647deee3d37847f2ca2a6895d837748800c6b6.tar.bz2 NotEnoughUpdates-7b647deee3d37847f2ca2a6895d837748800c6b6.zip |
fix hollows solver with turkey (#340)
*maybe* fix hollows solver with turkey
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java index 07f19a60..0ee29b4f 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java @@ -47,6 +47,7 @@ import java.util.ArrayDeque; import java.util.ArrayList; import java.util.EnumSet; import java.util.HashMap; +import java.util.Locale; import java.util.function.BooleanSupplier; import java.util.function.LongSupplier; @@ -509,7 +510,7 @@ public class CrystalWishingCompassSolver { for (String crystalName : crystals.keySet()) { Integer crystalState = crystals.get(crystalName); if (crystalState != null && crystalState > 0) { - foundCrystals.add(Crystal.valueOf(crystalName.toUpperCase())); + foundCrystals.add(Crystal.valueOf(crystalName.toUpperCase(Locale.US).replace("İ", "I"))); } } |