aboutsummaryrefslogtreecommitdiff
path: root/spark-fabric/src/main
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2020-01-13 19:20:43 +0000
committerLuck <git@lucko.me>2020-01-13 19:20:43 +0000
commit40c07f2148d739d6091f0177b75162d1fd4294ce (patch)
tree8450f0a402adde8e09870ec767430895bbf77b10 /spark-fabric/src/main
parent51767fd18aca9c543b7324041ce75ee1cd5fe021 (diff)
downloadspark-40c07f2148d739d6091f0177b75162d1fd4294ce.tar.gz
spark-40c07f2148d739d6091f0177b75162d1fd4294ce.tar.bz2
spark-40c07f2148d739d6091f0177b75162d1fd4294ce.zip
Fix fabric server plugin command registration
Diffstat (limited to 'spark-fabric/src/main')
-rw-r--r--spark-fabric/src/main/java/me/lucko/spark/fabric/plugin/FabricServerSparkPlugin.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/spark-fabric/src/main/java/me/lucko/spark/fabric/plugin/FabricServerSparkPlugin.java b/spark-fabric/src/main/java/me/lucko/spark/fabric/plugin/FabricServerSparkPlugin.java
index a75b2aa..6399198 100644
--- a/spark-fabric/src/main/java/me/lucko/spark/fabric/plugin/FabricServerSparkPlugin.java
+++ b/spark-fabric/src/main/java/me/lucko/spark/fabric/plugin/FabricServerSparkPlugin.java
@@ -45,6 +45,7 @@ public class FabricServerSparkPlugin extends FabricSparkPlugin implements Comman
public static void register(FabricSparkMod mod, MinecraftServer server) {
FabricServerSparkPlugin plugin = new FabricServerSparkPlugin(mod, server);
+ registerCommands(server.getCommandManager().getDispatcher(), plugin, plugin, "spark");
CommandRegistry.INSTANCE.register(false, dispatcher -> registerCommands(dispatcher, plugin, plugin, "spark"));
}