diff --git a/src/main/java/net/minestom/server/acquirable/AcquirableImpl.java b/src/main/java/net/minestom/server/acquirable/AcquirableImpl.java index fb9b6557f..0221ce409 100644 --- a/src/main/java/net/minestom/server/acquirable/AcquirableImpl.java +++ b/src/main/java/net/minestom/server/acquirable/AcquirableImpl.java @@ -1,7 +1,6 @@ package net.minestom.server.acquirable; import net.minestom.server.entity.Entity; -import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; import java.util.stream.Stream; @@ -10,19 +9,6 @@ class AcquirableImpl implements Acquirable { protected static final ThreadLocal> CURRENT_ENTITIES = ThreadLocal.withInitial(Stream::empty); - /** - * Changes the stream returned by {@link #currentEntities()}. - *

- * Mostly for internal use, external calls are unrecommended as they could lead - * to unexpected behavior. - * - * @param entities the new entity stream - */ - @ApiStatus.Internal - static void refreshEntities(@NotNull Stream<@NotNull Entity> entities) { - AcquirableImpl.CURRENT_ENTITIES.set(entities); - } - private final T value; private final Acquirable.Handler handler;