We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 616a879 commit f866a5fCopy full SHA for f866a5f
paper-server/src/main/java/io/papermc/paper/network/ChannelInitializeListenerHolder.java
@@ -6,7 +6,7 @@
6
import org.checkerframework.checker.nullness.qual.Nullable;
7
8
import java.util.Collections;
9
-import java.util.HashMap;
+import java.util.LinkedHashMap;
10
import java.util.Map;
11
12
/**
@@ -16,7 +16,7 @@
16
*/
17
public final class ChannelInitializeListenerHolder {
18
19
- private static final Map<Key, ChannelInitializeListener> LISTENERS = new HashMap<>();
+ private static final Map<Key, ChannelInitializeListener> LISTENERS = new LinkedHashMap<>();
20
private static final Map<Key, ChannelInitializeListener> IMMUTABLE_VIEW = Collections.unmodifiableMap(LISTENERS);
21
22
private ChannelInitializeListenerHolder() {
0 commit comments