aboutsummaryrefslogtreecommitdiff
path: root/spark-fabric
diff options
context:
space:
mode:
Diffstat (limited to 'spark-fabric')
-rw-r--r--spark-fabric/build.gradle10
-rw-r--r--spark-fabric/src/main/java/me/lucko/spark/fabric/plugin/FabricServerSparkPlugin.java2
2 files changed, 6 insertions, 6 deletions
diff --git a/spark-fabric/build.gradle b/spark-fabric/build.gradle
index e6647a4..f29ad16 100644
--- a/spark-fabric/build.gradle
+++ b/spark-fabric/build.gradle
@@ -1,7 +1,7 @@
import net.fabricmc.loom.task.RemapJarTask
plugins {
- id 'fabric-loom' version '0.8-SNAPSHOT'
+ id 'fabric-loom' version '0.9.+'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
@@ -23,9 +23,9 @@ configurations {
dependencies {
// https://modmuss50.me/fabric.html
- minecraft 'com.mojang:minecraft:1.17'
- mappings 'net.fabricmc:yarn:1.17+build.10:v2'
- modImplementation 'net.fabricmc:fabric-loader:0.11.3'
+ minecraft 'com.mojang:minecraft:1.17.1'
+ mappings 'net.fabricmc:yarn:1.17.1+build.39:v2'
+ modImplementation 'net.fabricmc:fabric-loader:0.11.6'
Set<String> apiModules = [
"fabric-api-base",
@@ -35,7 +35,7 @@ dependencies {
// Add each module as a dependency
apiModules.forEach {
- modImplementation(fabricApi.module(it, '0.35.1+1.17'))
+ modImplementation(fabricApi.module(it, '0.38.0+1.17'))
}
include(modImplementation('me.lucko:fabric-permissions-api:0.1-SNAPSHOT'))
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;
}