Compare commits
2 Commits
8cdc06f7a1
...
91c0c0c510
| Author | SHA1 | Date |
|---|---|---|
|
|
91c0c0c510 | |
|
|
7b10b439ec |
|
|
@ -103,7 +103,7 @@ public class MaplePacketLittleEndianWriter {
|
||||||
}
|
}
|
||||||
|
|
||||||
public final void writeUTF8(final String s) {
|
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));
|
this.write(s.getBytes(StandardCharsets.UTF_8));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue