sillerud / BungeeCord

BungeeCord, the 6th in a generation of server portal suites. Efficiently proxies and maintains connections and transport between multiple Minecraft servers.
http://www.spigotmc.org/threads/bungeecord.392/
Other
24 stars 25 forks source link

Use 1.7 Kick packets in InitialHandler where needed #15

Closed prplz closed 10 years ago

prplz commented 10 years ago

1.7 clients that are kicked in the initial stage are sent packets with 1.6 kick body, causing strange client messages rather than the ban reasons I wanted it to display.

I've attempted to add a 1.7 disconnect method to initial handler that sends a 1.7 kick packet to the client in all the 1.7 sections of the code. I'm unsure if this was the correct way to fix this but it seems to be working for cancelled login events for me.

prplz commented 10 years ago

I was testing with offline mode, this still isn't fixed when using online. Please don't merge yet.