Update WorldSystem.java

This commit is contained in:
CrazyCloudCraft | Argantiu 2022-07-15 10:54:37 +02:00 committed by GitHub
parent 67e79fbd00
commit 88afa48658
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -155,10 +155,10 @@ public class WorldSystem extends JavaPlugin {
//this.getCommand("ws tnt").setExecutor(new WorldTnt());
//this.getCommand("ws fire").setExecutor(new WorldFire());
System.setProperty("bstats.relocatecheck", "false");
Metrics m = new Metrics(this);
m.addCustomChart(new Metrics.SingleLineChart("worlds", DependenceConfig::getHighestID));
// Bstats deactivated
// System.setProperty("bstats.relocatecheck", "false");
// Metrics m = new Metrics(this);
// m.addCustomChart(new Metrics.SingleLineChart("worlds", DependenceConfig::getHighestID));
//AutoUpdater.startAsync();