Start monitoring who removes the default disguise
This commit is contained in:
parent
4fa20a0367
commit
ea3380754b
@ -1,5 +1,6 @@
|
|||||||
package me.libraryaddict.disguise.utilities.metrics;
|
package me.libraryaddict.disguise.utilities.metrics;
|
||||||
|
|
||||||
|
import me.libraryaddict.disguise.DisguiseAPI;
|
||||||
import me.libraryaddict.disguise.DisguiseConfig;
|
import me.libraryaddict.disguise.DisguiseConfig;
|
||||||
import me.libraryaddict.disguise.LibsDisguises;
|
import me.libraryaddict.disguise.LibsDisguises;
|
||||||
import me.libraryaddict.disguise.disguisetypes.Disguise;
|
import me.libraryaddict.disguise.disguisetypes.Disguise;
|
||||||
@ -88,6 +89,13 @@ public class MetricsInitalizer {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
metrics.addCustomChart(new Metrics.SimplePie("default_libraryaddict") {
|
||||||
|
@Override
|
||||||
|
public String getValue() {
|
||||||
|
return (DisguiseAPI.getRawCustomDisguise("libraryaddict") != null) + "";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
metrics.addCustomChart(new Metrics.SimplePie("save_disguise_command") {
|
metrics.addCustomChart(new Metrics.SimplePie("save_disguise_command") {
|
||||||
@Override
|
@Override
|
||||||
public String getValue() {
|
public String getValue() {
|
||||||
|
Loading…
Reference in New Issue
Block a user