fix castling

This commit is contained in:
2025-04-22 10:46:12 +02:00
parent 91428543c2
commit 3a34415547

View File

@@ -49,6 +49,8 @@ public class CastlingCommand extends PlayerCommand {
board.applyMove(this.kingMove);
board.applyMove(this.rookMove);
board.setLastMove(this.kingMove);
outputSystem.onCastling(this.bigCastling);
return CommandResult.Moved;