Skip to content

Commit

Permalink
Merge pull request #83 from pavog/detect-new-paper-and-folia
Browse files Browse the repository at this point in the history
Detect new versions of Paper and Folia
  • Loading branch information
matthi4s authored Jul 5, 2024
2 parents d5bbc27 + 974364e commit f49eb2a
Show file tree
Hide file tree
Showing 9 changed files with 1,465 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Log/Minecraft/Vanilla/Bukkit/Folia/FoliaLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
*/
abstract class FoliaLog extends PaperLog
{
protected static string $logIdentifier = "(?:Folia|CraftBukkit) version git\-Folia";
protected static string $logIdentifier = "(?:Folia|CraftBukkit) version git\-Folia"
. "|This server is running Folia version";

/**
* @return AnalyserInterface
Expand Down
3 changes: 2 additions & 1 deletion src/Log/Minecraft/Vanilla/Bukkit/Paper/PaperLog.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
*/
abstract class PaperLog extends SpigotLog
{
protected static string $logIdentifier = "(?:Paper|CraftBukkit) version git\-Paper";
protected static string $logIdentifier = "(?:Paper|CraftBukkit) version git\-Paper"
. "|This server is running Paper version";

/**
* @return AnalyserInterface
Expand Down
Loading

0 comments on commit f49eb2a

Please sign in to comment.