diff --git a/core/src/main/java/tc/oc/pgm/points/SpreadPointProvider.java b/core/src/main/java/tc/oc/pgm/points/SpreadPointProvider.java index c2716fd6c9..8560b2b3a5 100644 --- a/core/src/main/java/tc/oc/pgm/points/SpreadPointProvider.java +++ b/core/src/main/java/tc/oc/pgm/points/SpreadPointProvider.java @@ -22,7 +22,6 @@ public SpreadPointProvider(Collection children) { public Location getPoint(Match match, @Nullable Entity entity) { List bestPoints = new ArrayList<>(SAMPLE_COUNT); double bestDistance = Double.NEGATIVE_INFINITY; - MatchPlayer player = match.getPlayer(entity); for (int i = 0; i < SAMPLE_COUNT; i++) { for (PointProvider child : children) {