mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 03:57:03 +00:00
Add metrics for api version
This commit is contained in:
parent
39e5f32083
commit
5ac6731ec5
2 changed files with 8 additions and 1 deletions
2
pom.xml
2
pom.xml
|
@ -5,7 +5,7 @@
|
|||
<!-- A good example on why temporary names for project identification shouldn't be used -->
|
||||
<groupId>LibsDisguises</groupId>
|
||||
<artifactId>LibsDisguises</artifactId>
|
||||
<version>10.0.4</version>
|
||||
<version>10.0.4-SNAPSHOT</version>
|
||||
|
||||
<build>
|
||||
<defaultGoal>exec:java clean install</defaultGoal>
|
||||
|
|
|
@ -74,6 +74,13 @@ public class MetricsInitalizer {
|
|||
}
|
||||
});
|
||||
|
||||
metrics.addCustomChart(new Metrics.SimplePie("ld_api") {
|
||||
@Override
|
||||
public String getValue() {
|
||||
return "" + LibsPremium.isAPIPlugin();
|
||||
}
|
||||
});
|
||||
|
||||
metrics.addCustomChart(new Metrics.SimplePie("grabskin_command") {
|
||||
@Override
|
||||
public String getValue() {
|
||||
|
|
Loading…
Reference in a new issue