diff --git a/src/main/java/me/roinujnosde/titansbattle/BaseGame.java b/src/main/java/me/roinujnosde/titansbattle/BaseGame.java index fd8ff88b..d3f0421e 100644 --- a/src/main/java/me/roinujnosde/titansbattle/BaseGame.java +++ b/src/main/java/me/roinujnosde/titansbattle/BaseGame.java @@ -304,7 +304,8 @@ protected void givePrizes(Prize prize, @Nullable Group group, @Nullable List players = getPlayerParticipantsStream().collect(Collectors.toList()); + List players = warriors.stream().map(Warrior::toOnlinePlayer).filter(Objects::nonNull) + .collect(Collectors.toList()); if (group != null) { for (Player p : players) { if (group.isLeaderOrOfficer(p.getUniqueId())) {