mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-08-24 23:12:51 +02:00
Change metrics to use existing chart
This commit is contained in:
parent
ee9240385e
commit
22c258b4fc
|
@ -1,5 +1,6 @@
|
|||
package me.libraryaddict.disguise.utilities.metrics;
|
||||
|
||||
import me.libraryaddict.disguise.DisguiseAPI;
|
||||
import me.libraryaddict.disguise.DisguiseConfig;
|
||||
import me.libraryaddict.disguise.LibsDisguises;
|
||||
import me.libraryaddict.disguise.disguisetypes.Disguise;
|
||||
|
@ -63,6 +64,8 @@ public class MetricsInitalizer {
|
|||
} else {
|
||||
premiumType = "Paid Builds";
|
||||
}
|
||||
} else if (LibsPremium.isAPIPlugin()) {
|
||||
premiumType = "Free Plugin";
|
||||
} else {
|
||||
premiumType = "Free Builds";
|
||||
}
|
||||
|
@ -74,13 +77,6 @@ public class MetricsInitalizer {
|
|||
}
|
||||
});
|
||||
|
||||
metrics.addCustomChart(new Metrics.SimplePie("ld_api") {
|
||||
@Override
|
||||
public String getValue() {
|
||||
return "" + LibsPremium.isAPIPlugin();
|
||||
}
|
||||
});
|
||||
|
||||
metrics.addCustomChart(new Metrics.SimplePie("grabskin_command") {
|
||||
@Override
|
||||
public String getValue() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user