syntax error fix

This commit is contained in:
CT
2026-05-02 09:03:18 -05:00
parent d7d70a8968
commit a2949645dd

View File

@@ -41,7 +41,7 @@ public class PlayerList {
public PlayerList getPlayersGoalsAbove(int num) {
PlayerList newList = new PlayerList();
for (HockeyPlayer p : PlayerList) {
for (HockeyPlayer p : pList) {
if (p.getGoals() > num) {
newList.addPlayer(p);
}