#1859: Rewrite second leash int
This commit is contained in:
parent
a8c529eca5
commit
507a98f28f
@ -61,6 +61,8 @@ class EntityMap_1_10 extends EntityMap
|
||||
switch ( packetId )
|
||||
{
|
||||
case 0x3A /* Attach Entity : PacketPlayOutAttachEntity */:
|
||||
rewriteInt( packet, oldId, newId, readerIndex + packetIdLength + 4 );
|
||||
break;
|
||||
case 0x48 /* Collect Item : PacketPlayOutCollect */:
|
||||
DefinedPacket.readVarInt( packet );
|
||||
rewriteVarInt( packet, oldId, newId, packet.readerIndex() );
|
||||
|
@ -61,6 +61,8 @@ class EntityMap_1_9 extends EntityMap
|
||||
switch ( packetId )
|
||||
{
|
||||
case 0x3A /* Attach Entity : PacketPlayOutAttachEntity */:
|
||||
rewriteInt( packet, oldId, newId, readerIndex + packetIdLength + 4 );
|
||||
break;
|
||||
case 0x49 /* Collect Item : PacketPlayOutCollect */:
|
||||
DefinedPacket.readVarInt( packet );
|
||||
rewriteVarInt( packet, oldId, newId, packet.readerIndex() );
|
||||
|
@ -61,6 +61,8 @@ class EntityMap_1_9_4 extends EntityMap
|
||||
switch ( packetId )
|
||||
{
|
||||
case 0x3A /* Attach Entity : PacketPlayOutAttachEntity */:
|
||||
rewriteInt( packet, oldId, newId, readerIndex + packetIdLength + 4 );
|
||||
break;
|
||||
case 0x48 /* Collect Item : PacketPlayOutCollect */:
|
||||
DefinedPacket.readVarInt( packet );
|
||||
rewriteVarInt( packet, oldId, newId, packet.readerIndex() );
|
||||
|
Loading…
Reference in New Issue
Block a user