Compare commits

..

No commits in common. "master" and "20260811-504" have entirely different histories.

View file

@ -5721,13 +5721,6 @@ namespace MinecraftClient.Protocol.Handlers
{ {
List<byte> fields = new(); List<byte> fields = new();
fields.AddRange(DataTypes.GetVarInt(EntityID)); fields.AddRange(DataTypes.GetVarInt(EntityID));
if (protocolVersion >= MC_26_1_Version && type == (int)InteractType.Attack)
{
SendPacket(PacketTypesOut.Attack, fields);
return true;
}
fields.AddRange(DataTypes.GetVarInt(type)); fields.AddRange(DataTypes.GetVarInt(type));
// Is player Sneaking (Only 1.16 and above) // Is player Sneaking (Only 1.16 and above)