Fix paper not supported message

This commit is contained in:
GeorgH93 2024-05-15 10:38:22 +02:00
parent 41644b2ac9
commit 0e53b1f41d
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8

View File

@ -123,7 +123,7 @@ public void onEnable()
private boolean checkMcVersion()
{
if ((MCVersion.isNewerThan(MCVersion.MC_NMS_1_20_R4) || MCVersion.is(MCVersion.UNKNOWN)))
if ((MCVersion.isNewerThan(MCVersion.MC_NMS_1_20_R3) || MCVersion.is(MCVersion.UNKNOWN)) && ServerType.isPaperCompatible())
{
getLogger().warning("Minepacks is not yet compatible with Paper 1.20.5 and up!");
getLogger().warning("To use this plugin please switch to spigot or wait for an update.");