aboutsummaryrefslogtreecommitdiff
path: root/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java
diff options
context:
space:
mode:
authorlucko <git@lucko.me>2022-06-09 22:13:58 +0100
committerGitHub <noreply@github.com>2022-06-09 22:13:58 +0100
commit4a16a1a2f4eb09f706b4a541e3d31618de29420b (patch)
treecc320ee2e6551f2157a2d54968f8ba14f6713d08 /spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java
parent32ab78c71c5be97da7329a4f7c4035289a3490b1 (diff)
parentecc3714e6441ace0eb78156b2b4475ca050280db (diff)
downloadspark-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.java6
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());
}