From 743a970595fe63e0bd7573e9f32037fdaccfaad3 Mon Sep 17 00:00:00 2001 From: LAX1DUDE Date: Sun, 17 Jul 2022 20:13:35 -0700 Subject: [PATCH] disable voice when leaving a server --- src/main/java/net/minecraft/client/Minecraft.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/net/minecraft/client/Minecraft.java b/src/main/java/net/minecraft/client/Minecraft.java index e8a8996..39df4ae 100644 --- a/src/main/java/net/minecraft/client/Minecraft.java +++ b/src/main/java/net/minecraft/client/Minecraft.java @@ -1461,6 +1461,9 @@ public class Minecraft implements Runnable { */ public void loadWorld(WorldClient par1WorldClient, String par2Str) { if (par1WorldClient == null) { + + EaglerAdapter.enableVoice(Voice.VoiceChannel.NONE); + NetClientHandler var3 = this.getNetHandler(); if (var3 != null) {