From e8355f34cec6b61b67ee2784b5e7e8ef68be4f9d Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Thu, 7 Mar 2019 14:49:37 +1300 Subject: [PATCH] Require premium versions to provide user ID --- .../java/me/libraryaddict/disguise/utilities/LibsPremium.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/LibsPremium.java b/src/main/java/me/libraryaddict/disguise/utilities/LibsPremium.java index 1192ddef..c5d51b08 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/LibsPremium.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/LibsPremium.java @@ -209,7 +209,7 @@ public class LibsPremium { plugin.getBuildDate()); if (plugin.isPremium()) { - if (!isValidVersion(version, plugin.getVersion())) { + if (!isValidVersion(version, plugin.getVersion()) || plugin.getUserID() == null) { DisguiseUtilities.getLogger().warning( "You have an old Lib's Disguises jar (" + file.getName() + " " + fileInfo + ") in the LibsDisguises folder! For security purposes, please replace this with a" +