Final presentation
This commit is contained in:
parent
421d7f49bd
commit
0877fecda2
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue