From 54e780a6db58376172e54131daad8b6ab20027ba 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 e9439fe..3e492da 100644 --- a/src/main/java/com/moulberry/axiom/packet/HelloPacketListener.java +++ b/src/main/java/com/moulberry/axiom/packet/HelloPacketListener.java @@ -97,8 +97,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;