From 40c07f2148d739d6091f0177b75162d1fd4294ce Mon Sep 17 00:00:00 2001 From: Luck Date: Mon, 13 Jan 2020 19:20:43 +0000 Subject: Fix fabric server plugin command registration --- .../main/java/me/lucko/spark/fabric/plugin/FabricServerSparkPlugin.java | 1 + 1 file changed, 1 insertion(+) (limited to 'spark-fabric/src/main') 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")); } -- cgit