diff options
author | Luck <git@lucko.me> | 2018-06-29 22:58:19 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2018-06-29 22:58:19 +0100 |
commit | fa2a1e5661ef40323a36283fbf913b6a1258950b (patch) | |
tree | 17dbe91c52a9a8080036e1e2463490ea2e867adb /spark-bukkit/src/main/java/me/lucko/spark | |
parent | 4e150e2ff03181b32b6fcfdbd9c6253fc099fa58 (diff) | |
download | spark-fa2a1e5661ef40323a36283fbf913b6a1258950b.tar.gz spark-fa2a1e5661ef40323a36283fbf913b6a1258950b.tar.bz2 spark-fa2a1e5661ef40323a36283fbf913b6a1258950b.zip |
Implement GC notifications as part of the monitoring command
Diffstat (limited to 'spark-bukkit/src/main/java/me/lucko/spark')
-rw-r--r-- | spark-bukkit/src/main/java/me/lucko/spark/bukkit/BukkitTickCounter.java | 2 |
1 files changed, 1 insertions, 1 deletions
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 |