small refactor
All checks were successful
Linux arm64 / Build (push) Successful in 46s

This commit is contained in:
2025-05-04 11:37:15 +02:00
parent 120de055a9
commit 271ff420a2
15 changed files with 69 additions and 127 deletions

View File

@@ -72,9 +72,7 @@ public abstract class AI extends GameAdaptator{
protected CommandResult sendCommand(Command command, CommandExecutor commandExecutor) {
CommandResult result = commandExecutor.executeCommand(command);
if(result == CommandResult.NotAllowed){
System.out.println("eeeeee");
}
assert result != CommandResult.NotAllowed : "Command not allowed!";
return result;
}