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-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java | |
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-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java')
-rw-r--r-- | spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java b/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java index 24a43b9..b67aff8 100644 --- a/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java +++ b/spark-sponge/src/main/java/me/lucko/spark/sponge/SpongeTickCounter.java @@ -41,10 +41,10 @@ public class SpongeTickCounter implements TickCounter, Runnable { @Override public void run() { - this.tick.increment(); for (Runnable r : this.tasks){ r.run(); } + this.tick.increment(); } @Override |