Fix a metrics check referring to wrong instance

This commit is contained in:
libraryaddict 2019-07-08 17:45:05 +12:00
parent fd2f7e4fbc
commit be20613da6

View File

@ -50,7 +50,7 @@ public class MetricsInitalizer {
}
boolean customPremium = !info.getUserID().matches("[0-9]+") || info.getUserID().equals("1") ||
!LibsPremium.getResourceID().equals("32453") || !info.getDownloadID().matches("-?[0-9]+");
!info.getResourceID().equals("32453") || !info.getDownloadID().matches("-?[0-9]+");
if (customPremium) {
if (plugin.isReleaseBuild() && LibsPremium.getPaidInformation() == null) {