mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-21 16:17:37 +01:00
use viaversion 2.1.4-SNAPSHOT, update clientcommands, gradle
This commit is contained in:
parent
96433c8040
commit
5e826dd80b
@ -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 {
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -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
|
||||
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user