From 1d8980d9cb08498b752e064c01f85c044de96422 Mon Sep 17 00:00:00 2001 From: levischnorr Date: Thu, 8 Feb 2024 10:54:12 +0100 Subject: [PATCH] Remove an assignment in Game::placeAt(FieldPoint position) --- mavenmcserver/src/main/java/mavenmcserver/game/Game.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/mavenmcserver/src/main/java/mavenmcserver/game/Game.java b/mavenmcserver/src/main/java/mavenmcserver/game/Game.java index dc6cb95..e1f22eb 100644 --- a/mavenmcserver/src/main/java/mavenmcserver/game/Game.java +++ b/mavenmcserver/src/main/java/mavenmcserver/game/Game.java @@ -316,8 +316,6 @@ private void registerEnded() { * @param position */ public void placeAt(FieldPoint position) { - // Store the position for use in getWinnerIfAny(); and similar - this.state.lastPlacePosition = position; this.didCompletePlace = false; if(this.state.getStateAt(position) != FieldState.NEUTRAL) return;