From 0877fecda28a6648714de22c3b65992577753ea5 Mon Sep 17 00:00:00 2001 From: yohanmontagne Date: Thu, 22 May 2025 10:29:33 +0200 Subject: [PATCH] Final presentation --- OOP_2B1_Project/src/backend/Board.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OOP_2B1_Project/src/backend/Board.java b/OOP_2B1_Project/src/backend/Board.java index d83475e..e20e825 100644 --- a/OOP_2B1_Project/src/backend/Board.java +++ b/OOP_2B1_Project/src/backend/Board.java @@ -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 {