forked from BLOCKFANTASY/LOOHP-Limbo
Updated Metrics
This commit is contained in:
parent
26c4b9d960
commit
6463e3d820
|
|
@ -304,14 +304,6 @@ public class Limbo {
|
|||
return dimensionRegistry;
|
||||
}
|
||||
|
||||
public String getServerImplementationVersion() {
|
||||
return serverImplementationVersion;
|
||||
}
|
||||
|
||||
public int getServerImplmentationProtocol() {
|
||||
return serverImplmentationProtocol;
|
||||
}
|
||||
|
||||
public PermissionsManager getPermissionsManager() {
|
||||
return permissionManager;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,6 +117,13 @@ public class Metrics {
|
|||
return limboVersion;
|
||||
}
|
||||
}));
|
||||
|
||||
addCustomChart(new Metrics.SimplePie("minecraftVersion", new Callable<String>() {
|
||||
@Override
|
||||
public String call() throws Exception {
|
||||
return Limbo.getInstance().serverImplementationVersion;
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue