From 3419bb6f30854e2f78d82c537e53733b2b4757a8 Mon Sep 17 00:00:00 2001 From: matt <4009945+MattBDev@users.noreply.github.com> Date: Mon, 1 Apr 2019 22:09:59 -0400 Subject: [PATCH] Fixed stats issue. --- .../src/main/java/com/boydti/fawe/Fawe.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java b/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java index 5bba05f4a..02355413f 100644 --- a/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java +++ b/worldedit-core/src/main/java/com/boydti/fawe/Fawe.java @@ -86,8 +86,6 @@ public class Fawe { private DefaultTransformParser transformParser; private ChatManager chatManager = new PlainChatManager(); - private BStats stats; - /** * Get the implementation specific class * @@ -166,15 +164,6 @@ public class Fawe { MainUtil.deleteOlder(MainUtil.getFile(IMP.getDirectory(), Settings.IMP.PATHS.CLIPBOARD), TimeUnit.DAYS.toMillis(Settings.IMP.CLIPBOARD.DELETE_AFTER_DAYS), false); }); - if (Settings.IMP.METRICS) { - try { - this.stats = new BStats(); - this.IMP.startMetrics(); - TaskManager.IMP.later(() -> stats.start(), 1); - } catch (Throwable throwable) { - throwable.printStackTrace(); - } - } /* * Instance independent stuff */ @@ -219,9 +208,6 @@ public class Fawe { } public void onDisable() { - if (stats != null) { - stats.close(); - } } private boolean update() {