From ba97f1d1326e1203dfd3532e87442b6c61f863a6 Mon Sep 17 00:00:00 2001 From: Moulberry Date: Fri, 16 Aug 2024 03:42:14 +0800 Subject: [PATCH] Add proxy conversions for 1.20.6 & 1.21.1 --- .../com/moulberry/axiom/packet/HelloPacketListener.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/moulberry/axiom/packet/HelloPacketListener.java b/src/main/java/com/moulberry/axiom/packet/HelloPacketListener.java index 35c9320..0854e41 100644 --- a/src/main/java/com/moulberry/axiom/packet/HelloPacketListener.java +++ b/src/main/java/com/moulberry/axiom/packet/HelloPacketListener.java @@ -99,8 +99,10 @@ public class HelloPacketListener implements PluginMessageListener { playerVersion = 764; // 1.20.2 } else if (dataVersion <= 3700) { playerVersion = 765; // 1.20.3 / 1.20.4 - } else if (dataVersion <= 3837) { - playerVersion = 766; // 1.20.3 / 1.20.4 + } else if (dataVersion <= 3839) { + playerVersion = 766; // 1.20.5 / 1.20.6 + } else if (dataVersion <= 3955) { + playerVersion = 767; // 1.21.1 } else { player.sendMessage(incompatibleWarning.color(NamedTextColor.RED)); return;