Fix bad packet ID with bows
This commit is contained in:
parent
a73b06eee3
commit
f8d15f4c88
@ -152,7 +152,8 @@ public class EntityMap
|
||||
int type = packet[5] & 0xFF;
|
||||
if ( type == 60 || type == 90 )
|
||||
{
|
||||
if ( readInt( packet, 20 ) == oldId )
|
||||
int index20 = readInt( packet, 20 );
|
||||
if ( packet.length > 24 && index20 == oldId )
|
||||
{
|
||||
setInt( packet, 20, newId );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user