PorkStudios / Pork2b2tBot

A minecraft bot thing, also works as a proxy!
https://www.daporkchop.net/pork2b2tbot
Other
46 stars 16 forks source link

Double chat #6

Closed bitsofreedom closed 6 years ago

bitsofreedom commented 6 years ago

All chat is doubled:

image

Not double in GUI: image

DaMatrix commented 6 years ago

Unable to reproduce, and I've heard this is caused by a client glitch.

novadoge commented 6 years ago

Odd, I can reproduce, both on my mac and windows boxes..

https://i.imgur.com/7f4boMm.png

novadoge commented 6 years ago

bandaid solution for me was to remove

listeners.put(ServerChatPacket.class, new ListenerChatPacket());

from ListenerRegistry. Only drawback is it disables pretty much all chat functions (duh).

novadoge commented 6 years ago

Best fix for now is to remove

client.session.send(new ServerChatPacket(legacyColorCodes));

from ListenerChatPacket. Stops the double message thing and keeps chat functions.