Final presentation

This commit is contained in:
yohanmontagne 2025-05-22 10:29:33 +02:00
parent 421d7f49bd
commit 0877fecda2
1 changed files with 1 additions and 1 deletions

View File

@ -384,7 +384,7 @@ public class Board implements Cloneable {
if (pieceAtDestination.isWhite() != pieceToMove.isWhite()) {
if (move.getCapturedPiece() != null && move.getCapturedPiece() != pieceAtDestination) {
System.err.println("Warning: Normal capture - Move.capturedPiece mismatch with piece at destination.");
}
pieces.remove(pieceAtDestination);
} else {