Fix a metrics check referring to wrong instance
This commit is contained in:
parent
fd2f7e4fbc
commit
be20613da6
@ -50,7 +50,7 @@ public class MetricsInitalizer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
boolean customPremium = !info.getUserID().matches("[0-9]+") || info.getUserID().equals("1") ||
|
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 (customPremium) {
|
||||||
if (plugin.isReleaseBuild() && LibsPremium.getPaidInformation() == null) {
|
if (plugin.isReleaseBuild() && LibsPremium.getPaidInformation() == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user