Fixed takeFromCommandQueue returning void

This commit is contained in:
Bas de Jong
2025-09-18 15:27:27 +02:00
parent 5fc3bddca8
commit 826886f617

View File

@@ -43,7 +43,7 @@ public class TicTacToe extends GameBase implements Runnable {
commandQueue.add(command); commandQueue.add(command);
} }
private void takeFromCommandQueue() { private ParsedCommand takeFromCommandQueue() {
try { try {
ParsedCommand cmd = this.commandQueue.take(); ParsedCommand cmd = this.commandQueue.take();
} catch (InterruptedException e) { } catch (InterruptedException e) {