Users must download a new jar from spigotmc for 10.0.0 snapshots

This commit is contained in:
libraryaddict 2020-04-05 14:41:12 +12:00
parent 4650631a50
commit f3369def08
No known key found for this signature in database
GPG Key ID: 052E4FBCD257AEA4

View File

@ -85,6 +85,10 @@ public class LibsPremium {
return false; return false;
} }
if (premiumVersion.startsWith("9.")){
return false;
}
// If current version is not a number version, then the premium version cannot be checked // If current version is not a number version, then the premium version cannot be checked
if (!currentVersion.matches("[0-9]+(\\.[0-9]+)+")) { if (!currentVersion.matches("[0-9]+(\\.[0-9]+)+")) {
// Return true as the rest of the version check cannot be used // Return true as the rest of the version check cannot be used