Require premium versions to provide user ID

This commit is contained in:
libraryaddict 2019-03-07 14:49:37 +13:00
parent 6eb61b28f6
commit e8355f34ce

View File

@ -209,7 +209,7 @@ public class LibsPremium {
plugin.getBuildDate()); plugin.getBuildDate());
if (plugin.isPremium()) { if (plugin.isPremium()) {
if (!isValidVersion(version, plugin.getVersion())) { if (!isValidVersion(version, plugin.getVersion()) || plugin.getUserID() == null) {
DisguiseUtilities.getLogger().warning( DisguiseUtilities.getLogger().warning(
"You have an old Lib's Disguises jar (" + file.getName() + " " + fileInfo + "You have an old Lib's Disguises jar (" + file.getName() + " " + fileInfo +
") in the LibsDisguises folder! For security purposes, please replace this with a" + ") in the LibsDisguises folder! For security purposes, please replace this with a" +