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:
@@ -43,7 +43,7 @@ public class TicTacToe extends GameBase implements Runnable {
|
||||
commandQueue.add(command);
|
||||
}
|
||||
|
||||
private void takeFromCommandQueue() {
|
||||
private ParsedCommand takeFromCommandQueue() {
|
||||
try {
|
||||
ParsedCommand cmd = this.commandQueue.take();
|
||||
} catch (InterruptedException e) {
|
||||
|
||||
Reference in New Issue
Block a user