diff --git a/src/main/java/chessmaster/game/ChessBoard.java b/src/main/java/chessmaster/game/ChessBoard.java index 271a72e35d..57a2ea458e 100644 --- a/src/main/java/chessmaster/game/ChessBoard.java +++ b/src/main/java/chessmaster/game/ChessBoard.java @@ -196,7 +196,7 @@ public Move[] getPseudoLegalMoves(Color color) { ChessPiece piece = getPieceAtCoor(currentCoor); if (piece.isSameColorAs(color)) { - Coordinate[] possibleCoordinates = piece.getLegalCoordinates(this); + Coordinate[] possibleCoordinates = piece.getPseudoLegalCoordinates(this); for (Coordinate possible: possibleCoordinates) { allMoves.add(MoveFactory.createMove(this, currentCoor, possible)); }