Added some logging to the LibsPremium stuff

This commit is contained in:
libraryaddict 2018-02-16 10:51:15 +13:00
parent a6bb739e62
commit 0adc7ecd3a

@ -55,8 +55,13 @@ public class LibsPremium {
Method m = c.getMethod("isPremium"); Method m = c.getMethod("isPremium");
thisPluginIsPaidFor = (Boolean) m.invoke(null); thisPluginIsPaidFor = (Boolean) m.invoke(null);
if (isPremium()) if (isPremium()) {
System.out.println("[LibsDisguises] Found a premium Lib's Disguises jar");
break; break;
} else {
System.out.println("[LibsDisguises] You have a non-premium Lib's Disguises jar in the folder!");
}
} }
catch (Exception ex) { catch (Exception ex) {
// Don't print off errors // Don't print off errors