ME1312 / VanillaCord

VanillaCord – IP Forwarding support for Vanilla Minecraft Servers
Mozilla Public License 2.0
75 stars 11 forks source link

Backwards compatible fix for 1.16.4+ #7

Closed chrissamael closed 3 years ago

chrissamael commented 3 years ago

Starting with 1.16.4 the string sent to the player via the handshake is named differently, this fix checks for both variants

What's Been Changed

The string check for the handshake listener was extended to include both the string up to 1.16.3 and the string used in 1.16.4 and 1.17 snapshots.

Why It Was Changed

To fix this crash issue we were experiencing.

compieter-gh commented 3 years ago

I was looking for a fix for 1.17 thank you so much @chrissamael

ME1312 commented 3 years ago

Good stuff. Merged.