Add metrics for config option 'Disable commands'
This commit is contained in:
parent
4f06b1833f
commit
754538a490
@ -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") {
|
metrics.addCustomChart(new Metrics.SimplePie("spigot") {
|
||||||
@Override
|
@Override
|
||||||
public String getValue() {
|
public String getValue() {
|
||||||
|
Loading…
Reference in New Issue
Block a user