From 2d26b7cd7fa15713ffa8b8720bf4cc9308e7cd95 Mon Sep 17 00:00:00 2001 From: themode Date: Sun, 21 Mar 2021 15:56:39 +0100 Subject: [PATCH] Use a List instead of a Collection --- src/main/java/net/minestom/server/Tickable.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/net/minestom/server/Tickable.java b/src/main/java/net/minestom/server/Tickable.java index 14b7ddb2b..1e829dfcd 100644 --- a/src/main/java/net/minestom/server/Tickable.java +++ b/src/main/java/net/minestom/server/Tickable.java @@ -3,7 +3,7 @@ package net.minestom.server; import net.minestom.server.utils.time.UpdateOption; import org.jetbrains.annotations.NotNull; -import java.util.Collection; +import java.util.List; /** * Represents an element which is ticked at a regular interval. @@ -24,10 +24,10 @@ public interface Tickable { /** * Gets all the tickable elements linked to this. * - * @return a modifiable {@link Collection} containing the linked tickable elements + * @return a modifiable {@link List} containing the linked tickable elements */ @NotNull - Collection getTickableElements(); + List getTickableElements(); /** * Gets the current tick rate of this element