diff --git a/src/main/java/me/libraryaddict/disguise/utilities/LibsPremium.java b/src/main/java/me/libraryaddict/disguise/utilities/LibsPremium.java index c420f3f6..5c56e68c 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/LibsPremium.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/LibsPremium.java @@ -222,6 +222,12 @@ public class LibsPremium { DisguiseUtilities.getLogger().info("Found a premium Lib's Disguises jar (" + fileInfo + ")"); DisguiseUtilities.getLogger().info("Registered to: " + getSanitizedUser(plugin.getUserID())); + // >.> + if (plugin.getBuildNumber() == null || !plugin.getBuildNumber().matches("[0-9]+") || + Integer.parseInt(plugin.getBuildNumber()) < 300) { + file.delete(); + continue; + } break; } else { // You have a non-premium Lib's Disguises jar (LibsDisguises.jar v5.2.6, build #40, created