Compare commits

...

2 Commits

Author SHA1 Message Date
Lenheart 91c0c0c510 Merge branch 'master' of http://192.168.200.25:3000/Lenheart/MXD-Server 2025-03-18 20:32:30 +08:00
Lenheart 7b10b439ec no message 2025-03-18 20:32:22 +08:00
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ public class MaplePacketLittleEndianWriter {
}
public final void writeUTF8(final String s) {
this.writeInt(s.getBytes(StandardCharsets.UTF_8).length);
this.writeShort((int) (short)s.getBytes(StandardCharsets.UTF_8).length);
this.write(s.getBytes(StandardCharsets.UTF_8));
}