Remove unnecessary unmodifiable collection

This commit is contained in:
themode 2021-01-23 22:06:41 +01:00
parent 948ac834bb
commit a0f5317292

View File

@ -213,7 +213,7 @@ public final class ConnectionManager {
*/
@NotNull
public List<ServerPacketConsumer> getSendPacketConsumers() {
return Collections.unmodifiableList(sendClientPacketConsumers);
return sendClientPacketConsumers;
}
/**