Compare commits
No commits in common. "91c0c0c510a605ab84f38c81f2c1c01a2430446e" and "8cdc06f7a14b9d2ec06e4829b6e0ab09e289bf92" have entirely different histories.
91c0c0c510
...
8cdc06f7a1
|
|
@ -103,7 +103,7 @@ public class MaplePacketLittleEndianWriter {
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void writeUTF8(final String s) {
|
public final void writeUTF8(final String s) {
|
||||||
this.writeShort((int) (short)s.getBytes(StandardCharsets.UTF_8).length);
|
this.writeInt(s.getBytes(StandardCharsets.UTF_8).length);
|
||||||
this.write(s.getBytes(StandardCharsets.UTF_8));
|
this.write(s.getBytes(StandardCharsets.UTF_8));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue