From a2949645ddfc8270a012c7433e6893fd174dd222 Mon Sep 17 00:00:00 2001 From: CT Date: Sat, 2 May 2026 09:03:18 -0500 Subject: [PATCH] syntax error fix --- PlayerList.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlayerList.java b/PlayerList.java index c33e2ee..760689b 100644 --- a/PlayerList.java +++ b/PlayerList.java @@ -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); }