Released 9.8.3, commands disabled for players on non-premium versions

This commit is contained in:
libraryaddict
2019-11-03 18:07:12 +13:00
parent 2f109de685
commit 9df128db6f
11 changed files with 75 additions and 13 deletions

View File

@@ -93,7 +93,10 @@ public class LibsPremium {
// Comparing major versions
// Current version must be the same, or lower than premium version
return Integer.parseInt(currentSplit[0]) <= Integer.parseInt(premSplit[0]);
// return Integer.parseInt(currentSplit[0]) <= Integer.parseInt(premSplit[0]);
// Snapshot must be of current version
return premiumVersion.equals(currentVersion);
}
private static PluginInformation getInformation(File file) throws Exception {