more changes for latest gophertunnel support

This commit is contained in:
ethaniccc
2025-12-30 14:22:21 -05:00
parent ff3fed5671
commit e623818c60
3 changed files with 51 additions and 8 deletions

View File

@@ -72,7 +72,7 @@ func (pk *Text) Marshal(io protocol.IO) {
} else {
categoryType = packet.TextCategoryMessageWithParameters
}
io.TextCategory(&categoryType)
io.Uint8(&categoryType)
io.Uint8(&pk.TextType)
}
switch pk.TextType {