disable voice when leaving a server

This commit is contained in:
LAX1DUDE 2022-07-17 20:13:35 -07:00
parent 0a58308b80
commit 743a970595

View File

@ -1461,6 +1461,9 @@ public class Minecraft implements Runnable {
*/ */
public void loadWorld(WorldClient par1WorldClient, String par2Str) { public void loadWorld(WorldClient par1WorldClient, String par2Str) {
if (par1WorldClient == null) { if (par1WorldClient == null) {
EaglerAdapter.enableVoice(Voice.VoiceChannel.NONE);
NetClientHandler var3 = this.getNetHandler(); NetClientHandler var3 = this.getNetHandler();
if (var3 != null) { if (var3 != null) {