diff options
author | Huynh Tien <huynhqtienvtag@gmail.com> | 2022-05-20 00:09:51 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 18:09:51 +0100 |
commit | d3e6d73b6be762558a3c7ff991ba52d4d6cfb74d (patch) | |
tree | 45c75401d3245d55fb7d4ef9216b3b72173d2ff9 /spark-common | |
parent | 3b124e7995f0ce976f69ae940566e2ba7dd56287 (diff) | |
download | spark-d3e6d73b6be762558a3c7ff991ba52d4d6cfb74d.tar.gz spark-d3e6d73b6be762558a3c7ff991ba52d4d6cfb74d.tar.bz2 spark-d3e6d73b6be762558a3c7ff991ba52d4d6cfb74d.zip |
Minestom platform (#203)
Diffstat (limited to 'spark-common')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java b/spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java index a961925..a79d110 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java +++ b/spark-common/src/main/java/me/lucko/spark/common/SparkPlatform.java @@ -142,7 +142,7 @@ public class SparkPlatform { this.tickHook = plugin.createTickHook(); this.tickReporter = plugin.createTickReporter(); - this.tickStatistics = this.tickHook != null ? new TickStatistics() : null; + this.tickStatistics = this.tickHook != null || this.tickReporter != null ? new TickStatistics() : null; PlayerPingProvider pingProvider = plugin.createPlayerPingProvider(); this.pingStatistics = pingProvider != null ? new PingStatistics(pingProvider) : null; |