diff --git a/Projekte/mdga/client/src/main/java/pp/mdga/client/NotificationSynchronizer.java b/Projekte/mdga/client/src/main/java/pp/mdga/client/NotificationSynchronizer.java index c214ecc8..2f0ae1ff 100644 --- a/Projekte/mdga/client/src/main/java/pp/mdga/client/NotificationSynchronizer.java +++ b/Projekte/mdga/client/src/main/java/pp/mdga/client/NotificationSynchronizer.java @@ -164,7 +164,7 @@ private void handleGame(Notification notification) { } else if (notification instanceof WaitMoveNotification) { //TODO ??? } else if (notification instanceof SelectableMoveNotification n) { - boardHandler.outlineMove(n.getPieces(), n.getMoveIndexe(), n.getHomeMoves()); + boardHandler.outlineMove(n.getPieces(), n.getMoveIndices(), n.getHomeMoves()); } else if (notification instanceof SelectableSwapNotification n) { boardHandler.outlineSwap(n.getOwnPieces(), n.getEnemyPieces()); // } //else if (notification instanceof SelectableShieldNotification n) {