Add metrics for config option 'Disable commands'

This commit is contained in:
libraryaddict 2018-11-23 13:29:19 +13:00
parent 4f06b1833f
commit 754538a490

View File

@ -209,6 +209,14 @@ public class LibsDisguises extends JavaPlugin {
}
});
metrics.addCustomChart(new Metrics.SimplePie("commands") {
@Override
public String getValue() {
return DisguiseConfig.isDisableCommands() ? "Enabled" : "Disabled";
}
});
metrics.addCustomChart(new Metrics.SimplePie("spigot") {
@Override
public String getValue() {