aboutsummaryrefslogtreecommitdiff
path: root/spark-nukkit/src/main/java/me/lucko/spark/nukkit/NukkitSparkPlugin.java
diff options
context:
space:
mode:
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());
}