Skip to content
This repository was archived by the owner on Feb 18, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import com.untamedears.jukealert.model.Snitch;
import com.untamedears.jukealert.model.appender.DormantCullingAppender;
import java.util.LinkedList;
import java.util.ArrayList;
import java.util.List;
import net.md_5.bungee.api.ChatColor;
import org.bukkit.entity.Player;
Expand Down Expand Up @@ -30,7 +30,7 @@ public SnitchOverviewGUI(Player player, List<Snitch> snitches, String title, boo
}

private List<IClickable> constructSnitchClickables() {
final List<IClickable> clickables = new LinkedList<>();
final List<IClickable> clickables = new ArrayList<>(this.snitches.size());
for (final Snitch snitch : this.snitches) {
// Base the snitch icon on the snitch type
final var icon = snitch.getType().getItem().clone();
Expand Down