diff --git a/build.gradle.kts b/build.gradle.kts index 1d7f6de..6cecbd4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -46,8 +46,8 @@ tasks.named("processResources") { dependencies { // transitive = false because Guava is conflicting on runClient - compile("us.myles:viaversion:2.1.3") { isTransitive = false } - include("us.myles:viaversion:2.1.3") + compile("us.myles:viaversion:2.1.4-SNAPSHOT") { isTransitive = false } + include("us.myles:viaversion:2.1.4-SNAPSHOT") compileOnly("com.google.code.findbugs:jsr305:3.0.2") @@ -57,8 +57,8 @@ dependencies { modCompile("net.fabricmc.fabric-api:fabric-api:0.3.0+build.170") - modCompile("io.github.cottonmc:cotton-client-commands:0.3.1+1.14-SNAPSHOT") - include("io.github.cottonmc:cotton-client-commands:0.3.1+1.14-SNAPSHOT") + modCompile("io.github.cottonmc:cotton-client-commands:0.4.2+1.14.3-SNAPSHOT") + include("io.github.cottonmc:cotton-client-commands:0.4.2+1.14.3-SNAPSHOT") } minecraft { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f4d7b2b..4b7e1f3 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/src/main/java/com/github/creeper123123321/viafabric/commands/VRClientCommands.java b/src/main/java/com/github/creeper123123321/viafabric/commands/VRClientCommands.java index 5cb80c7..fa8fc41 100644 --- a/src/main/java/com/github/creeper123123321/viafabric/commands/VRClientCommands.java +++ b/src/main/java/com/github/creeper123123321/viafabric/commands/VRClientCommands.java @@ -27,11 +27,11 @@ package com.github.creeper123123321.viafabric.commands; import com.github.creeper123123321.viafabric.ViaFabric; import com.mojang.brigadier.CommandDispatcher; import io.github.cottonmc.clientcommands.ClientCommandPlugin; -import net.minecraft.server.command.CommandSource; +import io.github.cottonmc.clientcommands.CottonClientCommandSource; public class VRClientCommands implements ClientCommandPlugin { @Override - public void registerCommands(CommandDispatcher commandDispatcher) { + public void registerCommands(CommandDispatcher commandDispatcher) { commandDispatcher.register(ViaFabric.command("viafabricclient")); } }