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