diff options
| author | Ascynx <78341107+Ascynx@users.noreply.github.com> | 2022-09-22 20:56:44 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-22 20:56:44 +0200 |
| commit | 005f9ef89baa3bde63fcfc188359034606506550 (patch) | |
| tree | 7aedd854beff3dcd04eaaf3601f3629d86b10d3e /src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java | |
| parent | 2d9bf47ca3a61fee56d3a52f56ee0daca626a9c8 (diff) | |
| download | notenoughupdates-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/CrystalMetalDetectorSolver.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java index 167b6a2f..ab9345cb 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscfeatures/CrystalMetalDetectorSolver.java @@ -170,7 +170,7 @@ public class CrystalMetalDetectorSolver { // falls through case FOUND: mc.thePlayer.addChatMessage(new ChatComponentText(EnumChatFormatting.YELLOW + "[NEU] Found solution.")); - if (NotEnoughUpdates.INSTANCE.config.hidden.debugFlags.contains(NEUDebugFlag.METAL) && + if (NEUDebugFlag.METAL.isSet() && (previousState == SolutionState.INVALID || previousState == SolutionState.FAILED)) { NEUDebugLogger.log( NEUDebugFlag.METAL, |
