forked from ChomeNS/chomens-bot-java
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();
|
||||
}
|
||||
|
||||
bot.executorService().execute(() -> {
|
||||
new Thread(() -> {
|
||||
sendToServer(new NetworkMessage(new AuthenticatePacket(initializationData.playerUUID(), initializationData.secret())));
|
||||
|
||||
while (running) {
|
||||
|
@ -100,7 +100,7 @@ public class VoiceChatPlugin extends Bot.Listener {
|
|||
else break; // is this neccessary?
|
||||
}
|
||||
}
|
||||
});
|
||||
}).start();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue