mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
Bit masked the entity ID to change the range from -127-127 to 0-255
This commit is contained in:
1 parent
9f3ab1e601
commit
fd2fa90bb2
1 file changed
+1
-1
@@ -75,7 +75,7 @@ public class PacketEntitySpawn extends ForgePacket
|
||||
{
|
||||
data.writeInt(modID);
|
||||
data.writeInt(entityID);
|
||||
data.writeByte(typeID);
|
||||
data.writeByte(typeID & 0xFF);
|
||||
data.writeInt(posX);
|
||||
data.writeInt(posY);
|
||||
data.writeInt(posZ);
|
||||
|
||||
Reference in new issue
Block a user