Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Detective/Detective.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ class Detective extends \Aternos\Codex\Detective\Detective
QuiltCrashReportLog::class,
NeoForgeCrashReportLog::class,
ForgeCrashReportLog::class,
ArclightCrashReportLog::class,
VanillaCrashReportLog::class,
MohistCrashReportLog::class,
ArclightCrashReportLog::class,

VanillaNetworkProtocolErrorReportLog::class,

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,12 @@ public static function getDetectors(): array
(new MultiPatternDetector())
->addPattern("/^---- Minecraft Crash Report ----$/m")
->addPattern("/^\tIs Modded: Definitely; Client brand changed to 'arclight'$/im"),
// Arclight puts the mod loader before its brand and may append its release name, e.g.
// "\tIs Modded: Definitely; Server brand changed to 'forge arclight'" or
// "\tIs Modded: Definitely; Server brand changed to 'neoforge arclight/FeudalKings'"
(new MultiPatternDetector())
->addPattern("/^---- Minecraft Crash Report ----$/m")
->addPattern("/^\tIs Modded: Definitely; Server brand changed to 'arclight'$/im"),
->addPattern("/^\tIs Modded: Definitely; Server brand changed to '(?:(?:neo)?forge |fabric )?arclight(?:\/[^']+)?'$/im"),
];
}
}
Loading
Loading