Commit 2d45525
authored
fix: proxy switch handshake: send valid GetSection packet (include team byte) (#142)
Root cause: GetSectionOrRequestSync (packet 8) built with invalid length during server switch (11 instead of 12).
Added missing team byte (packByte(0)) in handleWorldInfo.
This prevents TShock EndOfStream in HandleGetSection and eliminates kick:
Your client didn't send the right connection information.
Removed temporary chat-drop workaround used during debugging.1 parent 2e97957 commit 2d45525
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
300 | 300 | | |
301 | 301 | | |
302 | 302 | | |
| 303 | + | |
303 | 304 | | |
304 | 305 | | |
305 | 306 | | |
| |||
0 commit comments