Skip to content

Commit

Permalink
make regex more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
female-nectar committed Nov 19, 2024
1 parent 40d0a45 commit dd2ab5e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function getMessage(): string
*/
public static function getPatterns(): array
{
return ['/Overworld settings missing/'];
return ['/java.util.concurrent.ExecutionException: .+ Overworld settings missing/'];
}

/**
Expand Down
2 changes: 1 addition & 1 deletion test/data/Vanilla/vanilla-overworld-settings-missing.json
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@
"problems": [
{
"message": "Overworld settings missing",
"counter": 2,
"counter": 1,
"entry": {
"level": 4,
"time": null,
Expand Down

0 comments on commit dd2ab5e

Please sign in to comment.