diff --git a/WindSpigot-Server/src/main/java/ga/windpvp/windspigot/world/WorldTickManager.java b/WindSpigot-Server/src/main/java/ga/windpvp/windspigot/world/WorldTickManager.java index 4130f021..dc51d217 100644 --- a/WindSpigot-Server/src/main/java/ga/windpvp/windspigot/world/WorldTickManager.java +++ b/WindSpigot-Server/src/main/java/ga/windpvp/windspigot/world/WorldTickManager.java @@ -57,6 +57,7 @@ private void tickWorlds() { } catch (InterruptedException e) { e.printStackTrace(); } + ticker.worldserver.timings.tracker.stopTiming(); ticker.getLatch().reset(); } } diff --git a/WindSpigot-Server/src/main/java/ga/windpvp/windspigot/world/WorldTicker.java b/WindSpigot-Server/src/main/java/ga/windpvp/windspigot/world/WorldTicker.java index 1815a89e..2beb3b39 100644 --- a/WindSpigot-Server/src/main/java/ga/windpvp/windspigot/world/WorldTicker.java +++ b/WindSpigot-Server/src/main/java/ga/windpvp/windspigot/world/WorldTicker.java @@ -72,10 +72,10 @@ private void run(boolean handleTrackerAsync) { throw new ReportedException(crashreport); } + worldserver.timings.tracker.startTiming(); // Spigot if (handleTrackerAsync) { AsyncUtil.run(cachedUpdateTrackerTask, AsyncEntityTracker.getExecutor()); } else { - worldserver.timings.tracker.startTiming(); // Spigot // this.methodProfiler.b(); // this.methodProfiler.a("tracker");