Fix FML's Config Sync packet not allowing same length filenames in encoder and decoder. Closes #7584

This commit is contained in:
LexManos 2021-01-05 11:50:05 -08:00
parent c4b148b84b
commit f101700969

View file

@ -264,7 +264,7 @@ public class FMLHandshakeMessages
}
public static S2CConfigData decode(final PacketBuffer buffer) {
return new S2CConfigData(buffer.readString(128), buffer.readByteArray());
return new S2CConfigData(buffer.readString(32767), buffer.readByteArray());
}
public String getFileName() {