aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java
diff options
context:
space:
mode:
authorAscynx <78341107+Ascynx@users.noreply.github.com>2022-09-22 20:56:44 +0200
committerGitHub <noreply@github.com>2022-09-22 20:56:44 +0200
commit005f9ef89baa3bde63fcfc188359034606506550 (patch)
tree7aedd854beff3dcd04eaaf3601f3629d86b10d3e /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java
parent2d9bf47ca3a61fee56d3a52f56ee0daca626a9c8 (diff)
downloadnotenoughupdates-005f9ef89baa3bde63fcfc188359034606506550.tar.gz
notenoughupdates-005f9ef89baa3bde63fcfc188359034606506550.tar.bz2
notenoughupdates-005f9ef89baa3bde63fcfc188359034606506550.zip
Fixed searchString issue (#289)
Co-authored-by: nea <romangraef@gmail.com> Co-authored-by: Roman / Nea <roman.graef@gmail.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java2
1 files changed, 1 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 19cf9c09..07f19a60 100644
--- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java
+++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalWishingCompassSolver.java
@@ -923,7 +923,7 @@ public class CrystalWishingCompassSolver {
return;
}
- boolean wishingDebugFlagSet = NotEnoughUpdates.INSTANCE.config.hidden.debugFlags.contains(NEUDebugFlag.WISHING);
+ boolean wishingDebugFlagSet = NEUDebugFlag.WISHING.isSet();
if (outputAlways || wishingDebugFlagSet) {
NEUDebugLogger.logAlways(getDiagnosticMessage());
}