From 5e90d77503e0b5f9ef8cde2f44af65f32b071137 Mon Sep 17 00:00:00 2001 From: Luck Date: Fri, 20 Aug 2021 10:45:50 +0100 Subject: Update fabric version, bump Gradle wrapper version --- .../main/java/me/lucko/spark/fabric/plugin/FabricServerSparkPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spark-fabric/src') 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 7e88a24..19dbc8a 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 @@ -82,7 +82,7 @@ public class FabricServerSparkPlugin extends FabricSparkPlugin implements Comman } this.threadDumper.ensureSetup(); - CommandOutput source = context.getSource().getEntity() != null ? context.getSource().getEntity() : context.getSource().getMinecraftServer(); + CommandOutput source = context.getSource().getEntity() != null ? context.getSource().getEntity() : context.getSource().getServer(); this.platform.executeCommand(new FabricCommandSender(source, this), args); return Command.SINGLE_SUCCESS; } -- cgit