Add metrics for config option 'Disable commands'
This commit is contained in:
		| @@ -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() { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user