mirror of
https://github.com/2OOP/pism.git
synced 2026-02-04 02:44:50 +00:00
Fixed takeFromCommandQueue returning void
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user