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
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ public class FMLHandshakeMessages
} }
public static S2CConfigData decode(final PacketBuffer buffer) { 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() { public String getFileName() {