use viaversion 2.1.4-SNAPSHOT, update clientcommands, gradle

This commit is contained in:
creeper123123321 2019-07-20 09:41:23 -03:00
parent 96433c8040
commit 5e826dd80b
3 changed files with 7 additions and 7 deletions

View File

@ -46,8 +46,8 @@ tasks.named<ProcessResources>("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 {

View File

@ -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

View File

@ -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<CommandSource> commandDispatcher) {
public void registerCommands(CommandDispatcher<CottonClientCommandSource> commandDispatcher) {
commandDispatcher.register(ViaFabric.command("viafabricclient"));
}
}