diff --git a/src/main/java/de/florianmichael/viafabricplus/protocoltranslator/ProtocolTranslator.java b/src/main/java/de/florianmichael/viafabricplus/protocoltranslator/ProtocolTranslator.java index cba40342..b8944f50 100644 --- a/src/main/java/de/florianmichael/viafabricplus/protocoltranslator/ProtocolTranslator.java +++ b/src/main/java/de/florianmichael/viafabricplus/protocoltranslator/ProtocolTranslator.java @@ -95,9 +95,9 @@ public class ProtocolTranslator { protected Comparator customComparator() { return (o1, o2) -> { if (o1 == AUTO_DETECT_PROTOCOL) { - return -1; - } else if (o2 == AUTO_DETECT_PROTOCOL) { return 1; + } else if (o2 == AUTO_DETECT_PROTOCOL) { + return -1; } else { return 0; }