some
This commit is contained in:
parent
57a97ba2e5
commit
3a840b32d1
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ public class VoiceChatPlugin extends Bot.Listener {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
bot.executorService().execute(() -> {
|
new Thread(() -> {
|
||||||
sendToServer(new NetworkMessage(new AuthenticatePacket(initializationData.playerUUID(), initializationData.secret())));
|
sendToServer(new NetworkMessage(new AuthenticatePacket(initializationData.playerUUID(), initializationData.secret())));
|
||||||
|
|
||||||
while (running) {
|
while (running) {
|
||||||
|
@ -100,7 +100,7 @@ public class VoiceChatPlugin extends Bot.Listener {
|
||||||
else break; // is this neccessary?
|
else break; // is this neccessary?
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
}).start();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue