From 427ae0b38275db7b8ebdfe86663cca36fe9521a1 Mon Sep 17 00:00:00 2001 From: Wolf2323 Date: Thu, 12 Oct 2023 15:29:16 +0200 Subject: [PATCH] Update src/main/java/org/betonquest/betonquest/events/FolderEvent.java Co-authored-by: Niklas Seyfarth --- src/main/java/org/betonquest/betonquest/events/FolderEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/betonquest/betonquest/events/FolderEvent.java b/src/main/java/org/betonquest/betonquest/events/FolderEvent.java index 4ea42d80a4..6b3bdd930e 100644 --- a/src/main/java/org/betonquest/betonquest/events/FolderEvent.java +++ b/src/main/java/org/betonquest/betonquest/events/FolderEvent.java @@ -55,7 +55,7 @@ public FolderEvent(final Instruction instruction) throws InstructionParseExcepti ticks = instruction.hasArgument("ticks"); minutes = instruction.hasArgument("minutes"); cancelOnLogout = instruction.hasArgument("cancelOnLogout"); - cancelled = new ArrayList<>(); + cancelled = new HashSet<>(); } @SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.NPathComplexity", "PMD.CognitiveComplexity"})