From be20613da6b6603f2d1deb4f81eb3c82c322813d Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 8 Jul 2019 17:45:05 +1200 Subject: [PATCH] Fix a metrics check referring to wrong instance --- .../disguise/utilities/metrics/MetricsInitalizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/utilities/metrics/MetricsInitalizer.java b/src/main/java/me/libraryaddict/disguise/utilities/metrics/MetricsInitalizer.java index 9d5ef09d..01b011bc 100644 --- a/src/main/java/me/libraryaddict/disguise/utilities/metrics/MetricsInitalizer.java +++ b/src/main/java/me/libraryaddict/disguise/utilities/metrics/MetricsInitalizer.java @@ -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) {