mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fixed custom entities unique ids.
This commit is contained in:
1 parent
25cd7cc3e1
commit
0ce790ca2b
1 file changed
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user