aboutsummaryrefslogtreecommitdiff
path: root/spark-fabric/src/main/java/me/lucko/spark/fabric
diff options
context:
space:
mode:
authorLuck <git@lucko.me>2021-08-20 10:45:50 +0100
committerLuck <git@lucko.me>2021-08-20 10:45:50 +0100
commit5e90d77503e0b5f9ef8cde2f44af65f32b071137 (patch)
treeb6870f5098c1997501f3afee99916b47bb6eca7d /spark-fabric/src/main/java/me/lucko/spark/fabric
parent65e216657e4ac86d4e1a1bee30033d9b27f5f217 (diff)
downloadspark-5e90d77503e0b5f9ef8cde2f44af65f32b071137.tar.gz
spark-5e90d77503e0b5f9ef8cde2f44af65f32b071137.tar.bz2
spark-5e90d77503e0b5f9ef8cde2f44af65f32b071137.zip
Update fabric version, bump Gradle wrapper version
Diffstat (limited to 'spark-fabric/src/main/java/me/lucko/spark/fabric')
-rw-r--r--spark-fabric/src/main/java/me/lucko/spark/fabric/plugin/FabricServerSparkPlugin.java2
1 files changed, 1 insertions, 1 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 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;
}