1.14.2 Pre-Release 1

This commit is contained in:
Gerrygames 2019-05-16 19:57:37 +02:00
parent 28a01c0c69
commit c92554933e
2 changed files with 8 additions and 8 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.0") { isTransitive = false }
include("us.myles:viaversion:2.1.0")
compile("us.myles:viaversion:2.1.1-1.14.2-pre1") { isTransitive = false }
include("us.myles:viaversion:2.1.1-1.14.2-pre1")
compile("de.gerrygames:viarewind-all:1.4.0") { isTransitive = false }
include("de.gerrygames:viarewind-all:1.4.0")
compile("nl.matsv:viabackwards-all:3.0.0-SNAPSHOT") { isTransitive = false }
@ -55,8 +55,8 @@ dependencies {
compileOnly("com.google.code.findbugs:jsr305:3.0.2")
minecraft("com.mojang:minecraft:1.14.1")
mappings("net.fabricmc:yarn:1.14.1+build.1")
minecraft("com.mojang:minecraft:1.14.2 Pre-Release 1")
mappings("net.fabricmc:yarn:1.14.2 Pre-Release 1+build.1")
modCompile("net.fabricmc:fabric-loader:0.4.7+build.147")
modCompile("net.fabricmc:fabric:0.2.7+build.127")

View File

@ -28,9 +28,9 @@ import com.github.creeper123123321.viafabric.providers.VRVersionProvider;
import com.github.creeper123123321.viafabric.util.VersionFormatFilter;
import net.fabricmc.loader.api.FabricLoader;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.Screen;
import net.minecraft.client.gui.menu.MultiplayerScreen;
import net.minecraft.client.gui.menu.YesNoScreen;
import net.minecraft.client.gui.screen.ConfirmScreen;
import net.minecraft.client.gui.screen.Screen;
import net.minecraft.client.gui.screen.multiplayer.MultiplayerScreen;
import net.minecraft.client.gui.widget.ButtonWidget;
import net.minecraft.client.gui.widget.RecipeBookButtonWidget;
import net.minecraft.client.gui.widget.TextFieldWidget;
@ -116,7 +116,7 @@ public abstract class MixinMultiplayerScreen extends Screen {
20, // v Hover offset
new Identifier("viafabric:textures/gui/via_button.png"),
64, 64, // Texture size
button -> MinecraftClient.getInstance().openScreen(new YesNoScreen(
button -> MinecraftClient.getInstance().openScreen(new ConfirmScreen(
answer -> {
MinecraftClient.getInstance().openScreen(this);
if (answer) {