Fix gnarly bug

This commit is contained in:
Edith Boles 2021-10-03 16:01:22 -07:00
parent 49f9f84d38
commit b9229f3598

View File

@ -183,9 +183,9 @@ public final class Events implements Listener {
List<Player> players = new ArrayList<Player>(Bukkit.getOnlinePlayers()); List<Player> players = new ArrayList<Player>(Bukkit.getOnlinePlayers());
List<UUID> uuids = new ArrayList<UUID>(); List<UUID> uuids = new ArrayList<UUID>();
for (Player target : players) { for (Player target : players) {
if (target.getUniqueId() != playerUuid) { //if (target.getUniqueId() != playerUuid) {
uuids.add(target.getUniqueId()); uuids.add(target.getUniqueId());
} //}
} }
Collections.sort(uuids); Collections.sort(uuids);