This commit is contained in:
Gerrygames 2019-10-05 23:51:35 +02:00
parent 5fa44cb0df
commit 1ab937d220
2 changed files with 16 additions and 6 deletions

View File

@ -46,16 +46,16 @@ tasks.named<ProcessResources>("processResources") {
dependencies {
// transitive = false because Guava is conflicting on runClient
compile("us.myles:viaversion:2.1.4-19w37a") { isTransitive = false }
include("us.myles:viaversion:2.1.4-19w37a")
compile("us.myles:viaversion:2.1.4-19w40a") { isTransitive = false }
include("us.myles:viaversion:2.1.4-19w40a")
compileOnly("com.google.code.findbugs:jsr305:3.0.2")
minecraft("com.mojang:minecraft:19w37a")
mappings("net.fabricmc:yarn:19w37a+build.1")
modCompile("net.fabricmc:fabric-loader:0.6.1+build.165")
minecraft("com.mojang:minecraft:19w40a")
mappings("net.fabricmc:yarn:19w40a+build.4")
modCompile("net.fabricmc:fabric-loader:0.6.3+build.167")
modCompile("net.fabricmc.fabric-api:fabric-api:0.3.2+build.227-1.15")
modCompile("net.fabricmc.fabric-api:fabric-api:0.4.3+build.247-1.15")
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")

View File

@ -297,6 +297,16 @@ public class VRViaConfig extends Config implements ViaVersionConfig {
return false;
}
@Override
public boolean isNonFullBlockLightFix() {
return this.getBoolean("fix-non-full-blocklight", true);
}
@Override
public boolean is1_14HealthNaNFix() {
return this.getBoolean("fix-1_14-health-nan", true);
}
@Override
public boolean is1_15InstantRespawn() {
return this.getBoolean("use-1_15-instant-respawn", false);