Skip to content

Commit

Permalink
Remove an assignment in Game::placeAt(FieldPoint position)
Browse files Browse the repository at this point in the history
  • Loading branch information
lscgh committed Feb 8, 2024
1 parent 0a55aef commit 1d8980d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions mavenmcserver/src/main/java/mavenmcserver/game/Game.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1d8980d

Please sign in to comment.