mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 20:09:22 +00:00
Users must download a new jar from spigotmc for 10.0.0 snapshots
This commit is contained in:
parent
4650631a50
commit
f3369def08
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ public class LibsPremium {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (premiumVersion.startsWith("9.")){
|
||||
return false;
|
||||
}
|
||||
|
||||
// If current version is not a number version, then the premium version cannot be checked
|
||||
if (!currentVersion.matches("[0-9]+(\\.[0-9]+)+")) {
|
||||
// Return true as the rest of the version check cannot be used
|
||||
|
|
Loading…
Reference in a new issue