diff options
author | lucko <git@lucko.me> | 2022-06-09 22:13:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 22:13:58 +0100 |
commit | 4a16a1a2f4eb09f706b4a541e3d31618de29420b (patch) | |
tree | cc320ee2e6551f2157a2d54968f8ba14f6713d08 /spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java | |
parent | 32ab78c71c5be97da7329a4f7c4035289a3490b1 (diff) | |
parent | ecc3714e6441ace0eb78156b2b4475ca050280db (diff) | |
download | spark-4a16a1a2f4eb09f706b4a541e3d31618de29420b.tar.gz spark-4a16a1a2f4eb09f706b4a541e3d31618de29420b.tar.bz2 spark-4a16a1a2f4eb09f706b4a541e3d31618de29420b.zip |
Merge pull request #213 from embeddedt/forge-1.7.10
Align 1.7.10 with Spark 1.9
Diffstat (limited to 'spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java')
-rw-r--r-- | spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java index c9e099d..18132c3 100644 --- a/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java +++ b/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java @@ -23,6 +23,7 @@ package me.lucko.spark.nukkit; import me.lucko.spark.api.Spark; import me.lucko.spark.common.SparkPlatform; import me.lucko.spark.common.SparkPlugin; +import me.lucko.spark.common.monitor.ping.PlayerPingProvider; import me.lucko.spark.common.platform.PlatformInfo; import me.lucko.spark.common.util.ClassSourceLookup; @@ -108,6 +109,11 @@ public class NukkitSparkPlugin extends PluginBase implements SparkPlugin { } @Override + public PlayerPingProvider createPlayerPingProvider() { + return new NukkitPlayerPingProvider(getServer()); + } + + @Override public PlatformInfo getPlatformInfo() { return new NukkitPlatformInfo(getServer()); } |