diff options
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 9606614..b2db9f7 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 @@ -24,6 +24,7 @@ import me.lucko.spark.api.Spark; import me.lucko.spark.common.SparkPlatform; import me.lucko.spark.common.SparkPlugin; import me.lucko.spark.common.platform.PlatformInfo; +import me.lucko.spark.common.util.ClassSourceLookup; import cn.nukkit.command.Command; import cn.nukkit.command.CommandSender; @@ -88,6 +89,11 @@ public class NukkitSparkPlugin extends PluginBase implements SparkPlugin { } @Override + public ClassSourceLookup createClassSourceLookup() { + return new NukkitClassSourceLookup(); + } + + @Override public PlatformInfo getPlatformInfo() { return new NukkitPlatformInfo(getServer()); } |