mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Fixed buffer overflow
This commit is contained in:
parent
c2337058f6
commit
f70ec0996c
1 changed files with 1 additions and 1 deletions
|
@ -35,10 +35,10 @@ public class MsgPonyData {
|
|||
buffer.writeEnumConstant(data.tailLength());
|
||||
buffer.writeEnumConstant(data.tailShape());
|
||||
buffer.writeEnumConstant(data.gender());
|
||||
buffer.writeVarInt(data.priority());
|
||||
new MsgSize(data.size()).toBuffer(buffer);
|
||||
buffer.writeInt(data.glowColor());
|
||||
buffer.writeBoolean(data.noSkin());
|
||||
buffer.writeVarInt(data.priority());
|
||||
data.gear().write(buffer);
|
||||
return buffer;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue