mirror of
https://github.com/darksaid98/AntiCheatReloaded.git
synced 2026-12-02 06:28:52 +00:00
Fix #193
This commit is contained in:
1 parent
84ddce8f1e
commit
ebfd8f69af
2 files changed
+11
-1
No files matched your search
@@ -165,7 +165,7 @@ public final class AntiCheatReloaded extends JavaPlugin {
|
||||
public void run() {
|
||||
checkForSymbiosis();
|
||||
try {
|
||||
Metrics metrics = new Metrics(AntiCheatReloaded.this, 202);
|
||||
final Metrics metrics = new Metrics(AntiCheatReloaded.this, 202);
|
||||
metrics.addCustomChart(new Metrics.SingleLineChart("cheaters_kicked", new Callable<Integer>() {
|
||||
@Override
|
||||
public Integer call() throws Exception {
|
||||
@@ -193,6 +193,12 @@ public final class AntiCheatReloaded extends JavaPlugin {
|
||||
return symbiosisMetric;
|
||||
}
|
||||
}));
|
||||
metrics.addCustomChart(new Metrics.SimplePie("floodgate_enabled", new Callable<String>() {
|
||||
@Override
|
||||
public String call() throws Exception {
|
||||
return floodgateEnabled ? "Yes" : "No";
|
||||
}
|
||||
}));
|
||||
} catch (Exception e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user