From a0f5317292241d44e7231b588bcc093ef223d16b Mon Sep 17 00:00:00 2001 From: themode Date: Sat, 23 Jan 2021 22:06:41 +0100 Subject: [PATCH] Remove unnecessary unmodifiable collection --- .../java/net/minestom/server/network/ConnectionManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minestom/server/network/ConnectionManager.java b/src/main/java/net/minestom/server/network/ConnectionManager.java index 46c208cb3..070cfe7ad 100644 --- a/src/main/java/net/minestom/server/network/ConnectionManager.java +++ b/src/main/java/net/minestom/server/network/ConnectionManager.java @@ -213,7 +213,7 @@ public final class ConnectionManager { */ @NotNull public List getSendPacketConsumers() { - return Collections.unmodifiableList(sendClientPacketConsumers); + return sendClientPacketConsumers; } /**