From 8e1822b0d24fae4c29ea41c0c4acea4902fe0791 Mon Sep 17 00:00:00 2001 From: oldkingOK Date: Wed, 21 Feb 2024 10:10:03 +0800 Subject: [PATCH] feat(DeclareCommands.cs): Remove 1.20.2+ version check --- .../Protocol/Handlers/Packet/s2c/DeclareCommands.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/MinecraftClient/Protocol/Handlers/Packet/s2c/DeclareCommands.cs b/MinecraftClient/Protocol/Handlers/Packet/s2c/DeclareCommands.cs index 9e0e9a08..7c215bb2 100644 --- a/MinecraftClient/Protocol/Handlers/Packet/s2c/DeclareCommands.cs +++ b/MinecraftClient/Protocol/Handlers/Packet/s2c/DeclareCommands.cs @@ -101,9 +101,6 @@ namespace MinecraftClient.Protocol.Handlers.packet.s2c protocolVersion <= Protocol18Handler.MC_1_20_2_Version) ? // 1.20 - 1.20.2 new ParserForgeEnum(dataTypes, packetData) : new ParserEmpty(dataTypes, packetData), - 52 => protocolVersion > Protocol18Handler.MC_1_20_2_Version ? // 1.20.2 + - new ParserForgeEnum(dataTypes, packetData) : - new ParserEmpty(dataTypes, packetData), _ => new ParserEmpty(dataTypes, packetData), }; }