Fixed custom entities unique ids.
This commit is contained in:
parent
25cd7cc3e1
commit
0ce790ca2b
1 changed files with 2 additions and 2 deletions
|
@ -140,8 +140,8 @@ public abstract class FMLMessage {
|
|||
super.toBytes(buf);
|
||||
ByteBufUtils.writeUTF8String(buf, modId);
|
||||
buf.writeInt(modEntityTypeId);
|
||||
buf.writeLong(entityUUID.getMostSignificantBits());
|
||||
buf.writeLong(entityUUID.getLeastSignificantBits());
|
||||
buf.writeLong(entity.getUniqueID().getMostSignificantBits());
|
||||
buf.writeLong(entity.getUniqueID().getLeastSignificantBits());
|
||||
// posX, posY, posZ
|
||||
buf.writeDouble(entity.posX);
|
||||
buf.writeDouble(entity.posY);
|
||||
|
|
Loading…
Reference in a new issue