Closed TigerWalts closed 2 years ago
Yeah, generally, an exception of this type is caused by some kind of corruption – and as you suspected – the problem lies with the fact that they moved the if
statement we're trying to alter down a line. The following is not valid code:
Validate.validState(a((String) false), "Invalid characters in username", new Object[0]);
Luckily, a simple type check can keep us from altering calls to the previously assigned instance variable j
, so backwards compatibility should remain intact.
Thanks. It's working with 1.18.2 now. I haven't tested any older versions.
When attempting to connect via a BungeeCord proxy, the following kick message is returned:
There is more, but this was sufficient to track down the cause. In 1.18.2, an extra validation call is made to make sure no invalid characters are in the player's username.
1.18.1
1.18.2
I suspect that the patcher is finding the second Validate and making changes to it.