3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 11:00:04 +01:00

[ci skip] Document metrics addition

Dieser Commit ist enthalten in:
Alexander Brandes 2023-02-07 22:50:21 +01:00
Ursprung b65f3ce1f8
Commit 07217d0b81
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C

Datei anzeigen

@ -223,6 +223,7 @@ public class WorldEditPlugin extends JavaPlugin {
// Enable metrics // Enable metrics
Metrics m = new Metrics(this, BSTATS_ID); Metrics m = new Metrics(this, BSTATS_ID);
// First introduced in build 349, release 2.5.2
m.addCustomChart(new SimplePie("residence", () m.addCustomChart(new SimplePie("residence", ()
-> WEManager.weManager().getManagers().toString().contains("residence") ? "Yes" : "No")); -> WEManager.weManager().getManagers().toString().contains("residence") ? "Yes" : "No"));
// Check if we are in a safe environment // Check if we are in a safe environment