Skip to content

Commit

Permalink
Avoid Java 21 syntax for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsaglam committed Oct 3, 2024
1 parent 62e8d06 commit 538daaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/carcassonne/model/tile/TileStack.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public Tile drawTile() {
return returnedTiles.poll();
}

return tiles.removeFirst();
return tiles.remove(0);
}

/**
Expand Down

0 comments on commit 538daaf

Please sign in to comment.