synchronisation

This commit is contained in:
2025-04-07 12:01:51 +02:00
parent 6584c5cb91
commit e8e79a1e9e

View File

@@ -14,7 +14,7 @@ public class CommandExecutor {
this.outputSystem = null;
}
public CommandResult executeCommand(Command command) {
public synchronized CommandResult executeCommand(Command command) {
assert this.game != null : "No input game specified !";
assert this.outputSystem != null : "No output system specified !";