mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-05 09:09:40 +01:00
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;
|
||||
|
||||
import me.libraryaddict.disguise.DisguiseAPI;
|
||||
import me.libraryaddict.disguise.DisguiseConfig;
|
||||
import me.libraryaddict.disguise.LibsDisguises;
|
||||
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") {
|
||||
@Override
|
||||
public String getValue() {
|
||||
|
Loading…
Reference in New Issue
Block a user