mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Api version gets incremented. The size preceding wearables was changed to a varint.
This commit is contained in:
parent
0d226b51f9
commit
a9b870547a
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ import com.minelittlepony.api.pony.meta.*;
|
|||
public class MsgPonyData {
|
||||
private static final short API_IDENTIFIER = (short) 0xABCD;
|
||||
// API version - increment this number before any time any data is added/removed/moved in the data stream
|
||||
private static final byte API_VERSION = 2;
|
||||
private static final byte API_VERSION = 3;
|
||||
|
||||
public static PonyData read(PacketByteBuf buffer) {
|
||||
short data = buffer.readShort();
|
||||
|
|
Loading…
Reference in a new issue