9
0
mirror of https://github.com/HibiscusMC/HMCCosmetics.git synced 2025-12-30 04:19:28 +00:00

clean: IntelliJ complaining about missing <>

This commit is contained in:
LoJoSho
2023-08-01 12:51:28 -05:00
parent 548d0c3e9a
commit 3068ce5a03

View File

@@ -523,7 +523,7 @@ public class PacketManager extends BasePacket {
@NotNull
public static List<Player> getViewers(Location location) {
ArrayList<Player> viewers = new ArrayList();
ArrayList<Player> viewers = new ArrayList<>();
if (Settings.getViewDistance() <= 0) {
viewers.addAll(location.getWorld().getPlayers());
} else {