update bot for 1.19.3

This commit is contained in:
Tnze
2022-12-09 22:55:22 +08:00
parent 19a76a302c
commit 2ec7d98e6d
2 changed files with 1 additions and 7 deletions

View File

@ -27,12 +27,6 @@ func New(c *bot.Client, p *basic.Player, events EventsHandler) *Manager {
func attachPlayerMsg(c *bot.Client, p *basic.Player, handler func(msg chat.Message) error) {
c.Events.AddListener(
bot.PacketHandler{
Priority: 64, ID: packetid.ClientboundPlayerChatHeader,
F: func(packet pk.Packet) error {
return nil
},
},
bot.PacketHandler{
Priority: 64, ID: packetid.ClientboundPlayerChat,
F: func(packet pk.Packet) error {