From 014a7259cce3f2a3f9fa8ffd86d671c50c3b7a9e Mon Sep 17 00:00:00 2001 From: fdai7920 Date: Sat, 3 Feb 2024 00:13:00 +0100 Subject: [PATCH] refactoring: make setCurrentTurn void --- src/main/java/de/hsfulda/onses/services/PlayerService.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/de/hsfulda/onses/services/PlayerService.java b/src/main/java/de/hsfulda/onses/services/PlayerService.java index b3b4cc4..3b32e3a 100644 --- a/src/main/java/de/hsfulda/onses/services/PlayerService.java +++ b/src/main/java/de/hsfulda/onses/services/PlayerService.java @@ -28,9 +28,8 @@ public class PlayerService { return currentTurn; } - public PlayerService setCurrentTurn(boolean currentTurn) { + public void setCurrentTurn(boolean currentTurn) { this.currentTurn = currentTurn; - return this; } public Game getGame() {