mirror of
https://github.com/HibiscusMC/HMCCosmetics.git
synced 2025-12-30 12:29:16 +00:00
clean: IntelliJ complaining about missing <>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user