mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-11 03:30:02 +00:00
Add metrics for config option 'Disable commands'
This commit is contained in:
parent
4f06b1833f
commit
754538a490
1 changed files with 8 additions and 0 deletions
|
@ -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 a new issue