From fa2a1e5661ef40323a36283fbf913b6a1258950b Mon Sep 17 00:00:00 2001 From: Luck Date: Fri, 29 Jun 2018 22:58:19 +0100 Subject: Implement GC notifications as part of the monitoring command --- spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitTickCounter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spark-bukkit/src/main/java/me/lucko/spark') diff --git a/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitTickCounter.java b/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitTickCounter.java index 9c4cca2..cdb42c1 100644 --- a/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitTickCounter.java +++ b/spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitTickCounter.java @@ -42,10 +42,10 @@ public class BukkitTickCounter implements TickCounter, Runnable { @Override public void run() { - this.tick.increment(); for (Runnable r : this.tasks){ r.run(); } + this.tick.increment(); } @Override -- cgit