You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After modifying the prefix of team packet, the client works normally under 1.13 version, but above 1.13, the client json error occurs and there is no server console error
code:
@Override
public ParseResult<Team> tran(Stream stream, Team packet, ProxiedPlayer player) {
if (packet.getPrefix() != null) {
String s = packet.getPrefix().replace("喵喵喵", "meowwwwww");
if (s != null) {
if (s.length() > 16) s = s.substring(0, 16);
packet.setPrefix(s);
modfiy = true;
}
}
if (modfiy) {
return new ParseResult<>(packet, true, false);
}
return (ParseResult<Team>) NO_MODIFY;
}
The text was updated successfully, but these errors were encountered:
After modifying the prefix of team packet, the client works normally under 1.13 version, but above 1.13, the client json error occurs and there is no server console error
code:
The text was updated successfully, but these errors were encountered: