Skip to content

Commit ba2eb13

Browse files
authored
Merge pull request #136 from aternosorg/spigot-26-1
Detect spigot 26.1
2 parents 83aab28 + 954cf29 commit ba2eb13

4 files changed

Lines changed: 1787 additions & 2 deletions

File tree

src/Log/Minecraft/Vanilla/Bukkit/Spigot/SpigotLog.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
abstract class SpigotLog extends CraftBukkitLog
88
{
9-
protected static string $logIdentifier = "CraftBukkit version (?:git|\d+(?:-[a-zA-Z]+)?)\-Spigot";
9+
protected static string $logIdentifier = "(?:CraftBukkit|Spigot) version (?:git|\d+(?:-[a-zA-Z]+)?)\-Spigot";
1010

1111
/**
1212
* @return string
@@ -15,4 +15,4 @@ public function getName(): string
1515
{
1616
return "Spigot";
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)