mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 21:26:46 +01:00
Chimera Wing Enabled Graph
This commit is contained in:
parent
009396cad9
commit
704f7374d2
@ -183,6 +183,26 @@ public class MetricsManager {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Chimera Wing Enabled Graph
|
||||||
|
Graph chimeraGraph = metrics.createGraph("Chimera Wing");
|
||||||
|
|
||||||
|
if (Config.getInstance().getChimaeraEnabled()) {
|
||||||
|
chimeraGraph.addPlotter(new Metrics.Plotter("Enabled") {
|
||||||
|
@Override
|
||||||
|
public int getValue() {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
chimeraGraph.addPlotter(new Metrics.Plotter("Disabled") {
|
||||||
|
@Override
|
||||||
|
public int getValue() {
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
emetrics.startMetrics();
|
emetrics.startMetrics();
|
||||||
}
|
}
|
||||||
catch (IOException e) {
|
catch (IOException e) {
|
||||||
|
Loading…
Reference in New Issue
Block a user