added logger

This commit is contained in:
Cedric Beck
2024-12-08 12:50:58 +01:00
parent 4c064cb615
commit 41d6f70d51
3 changed files with 7 additions and 5 deletions

View File

@@ -85,7 +85,6 @@ public void received(MoveMessage msg) {
logic.getGame().getPlayerByColor(occ.getColor()).addWaitingPiece(occ);
}
logic.addNotification(new MovePieceNotification(msg.getPiece().getUuid(), oldIndex, msg.getTargetIndex()));
//clear old node
logic.getGame().getBoard().getInfield()[logic.getGame().getBoard().getInfieldIndexOfPiece(piece)].clearOccupant();
//set new node