From 94832d1da7549b02db385c4ed63ce4d3a430e677 Mon Sep 17 00:00:00 2001 From: Big-Iron-Cheems <52252627+Big-Iron-Cheems@users.noreply.github.com> Date: Mon, 29 Apr 2024 19:02:08 +0200 Subject: [PATCH] Fix Reconnect button and ServerSpoof - no clue if `minecraft:register` or `fabric` should be kept --- .../meteorclient/mixin/DisconnectedScreenMixin.java | 3 +-- .../meteorclient/systems/modules/misc/ServerSpoof.java | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/meteordevelopment/meteorclient/mixin/DisconnectedScreenMixin.java b/src/main/java/meteordevelopment/meteorclient/mixin/DisconnectedScreenMixin.java index bccf6f608a..f96e6c603c 100644 --- a/src/main/java/meteordevelopment/meteorclient/mixin/DisconnectedScreenMixin.java +++ b/src/main/java/meteordevelopment/meteorclient/mixin/DisconnectedScreenMixin.java @@ -13,7 +13,6 @@ import net.minecraft.client.gui.screen.TitleScreen; import net.minecraft.client.gui.widget.ButtonWidget; import net.minecraft.client.gui.widget.DirectionalLayoutWidget; -import net.minecraft.client.network.CookieStorage; import net.minecraft.text.Text; import org.spongepowered.asm.mixin.Final; import org.spongepowered.asm.mixin.Mixin; @@ -79,6 +78,6 @@ private String getText() { @Unique private void tryConnecting() { var lastServer = Modules.get().get(AutoReconnect.class).lastServerConnection; - ConnectScreen.connect(new TitleScreen(), mc, lastServer.left(), lastServer.right(), false, new CookieStorage(null)); + ConnectScreen.connect(new TitleScreen(), mc, lastServer.left(), lastServer.right(), false, null); } } diff --git a/src/main/java/meteordevelopment/meteorclient/systems/modules/misc/ServerSpoof.java b/src/main/java/meteordevelopment/meteorclient/systems/modules/misc/ServerSpoof.java index 1f20b8aaa8..81144a8ea7 100644 --- a/src/main/java/meteordevelopment/meteorclient/systems/modules/misc/ServerSpoof.java +++ b/src/main/java/meteordevelopment/meteorclient/systems/modules/misc/ServerSpoof.java @@ -60,7 +60,7 @@ public class ServerSpoof extends Module { private final Setting> channels = sgGeneral.add(new StringListSetting.Builder() .name("channels") .description("If the channel contains the keyword, this outgoing channel will be blocked.") - .defaultValue("fabric", "minecraft:register") + .defaultValue("fabric", "minecraft:register", "minecraft:brand") .visible(blockChannels::get) .build() );