Fixed takeFromCommandQueue returning void

This commit is contained in:
Bas de Jong
2025-09-18 15:27:34 +02:00
parent 974403242f
commit 99c83d1361

View File

@@ -48,6 +48,7 @@ public class TicTacToe extends GameBase implements Runnable {
return this.commandQueue.take(); return this.commandQueue.take();
} catch (InterruptedException e) { } catch (InterruptedException e) {
logger.error("Taking from queue interrupted, in game with id: {}", this.gameId); logger.error("Taking from queue interrupted, in game with id: {}", this.gameId);
return null;
} }
} }