Untitled
unknown
java
a year ago
441 B
4
Indexable
@Override public @NotNull List<Player> getPlayersInCombat() { Set<UUID> playerIdSet = getPlayerIdsInCombat(); List<Player> playerList = new ArrayList<>(); for (UUID playerId : playerIdSet) { Player player = Bukkit.getPlayer(playerId); if (player != null) { playerList.add(player); } } return Collections.unmodifiableList(playerList); }
Editor is loading...
Leave a Comment