mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-26 05:50:39 +00:00
1.20.6 compat
This commit is contained in:
1 parent
cad7166cbe
commit
dae3de8982
1 file changed
+9
-6
@@ -65,15 +65,18 @@ public class ServerBootSFG {
|
|||||||
joiner.add(entry.getKey());
|
joiner.add(entry.getKey());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
String distro = Bukkit.getName().toLowerCase();
|
||||||
if (
|
if (
|
||||||
!instance.getServer().getVersion().contains("Purpur") &&
|
!distro.contains("purpur") &&
|
||||||
!instance.getServer().getVersion().contains("Paper") &&
|
!distro.contains("paper") &&
|
||||||
!instance.getServer().getVersion().contains("Spigot") &&
|
!distro.contains("spigot") &&
|
||||||
!instance.getServer().getVersion().contains("Pufferfish") &&
|
!distro.contains("pufferfish") &&
|
||||||
!instance.getServer().getVersion().contains("Bukkit")) {
|
!distro.contains("bukkit")) {
|
||||||
|
|
||||||
|
|
||||||
passedserversoftware = false;
|
passedserversoftware = false;
|
||||||
joiner.add("Server Software");
|
joiner.add("Server Software");
|
||||||
severityHigh++;
|
severityMedium++;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (INMS.get() instanceof NMSBinding1X) {
|
if (INMS.get() instanceof NMSBinding1X) {
|
||||||
|
|||||||
Reference in new issue
Block a user