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"})