Skip to content

Commit 76ab749

Browse files
authored
Merge pull request #140 from aternosorg/fabric-dev-client-log
Detect fabric client logs from dev environments
2 parents d1edf4e + 1e0bfd8 commit 76ab749

4 files changed

Lines changed: 1547 additions & 2 deletions

File tree

src/Log/Minecraft/Vanilla/Fabric/FabricClientLog.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static function getDetectors(): array
1515
return [
1616
(new MultiPatternDetector())
1717
->addPattern('#^\[[\d:]+\] \[main\/INFO\](?:\:| \(FabricLoader/GameProvider\)) Loading Minecraft [^ \n]+ with Fabric Loader [^ \n]+#')
18-
->addPattern('#^\[[\d:]+\] \[(?:Render thread|main)\/INFO\](?:\:| \(Minecraft\)) Setting user: \w+#m')
18+
->addPattern('#^\[[\d:]+\] \[(?:Render thread|main)\/INFO\](?:\:| \((?:net\.minecraft\.client\.)?Minecraft\)) Setting user: \w+#m')
1919
];
2020
}
21-
}
21+
}

0 commit comments

Comments
 (0)