mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-23 18:55:22 +01:00
Java 7 support
This commit is contained in:
parent
0b554be10a
commit
b9a98c88ba
@ -109,12 +109,11 @@ class EntityMap_1_8 extends EntityMap
|
||||
|
||||
if ( readId > 0 && changedId <= 0 )
|
||||
{
|
||||
packet.writerIndex( packet.writerIndex() - 3 * Short.BYTES );
|
||||
packet.writerIndex( packet.writerIndex() - 6 );
|
||||
} else if ( changedId > 0 && readId <= 0 )
|
||||
{
|
||||
packet.ensureWritable( 6 );
|
||||
packet.writerIndex( packet.writerIndex() + 3 * Short.BYTES );
|
||||
|
||||
packet.writerIndex( packet.writerIndex() + 6 );
|
||||
}
|
||||
}
|
||||
} else if ( packetId == 0x0C /* Spawn Player */ )
|
||||
|
Loading…
Reference in New Issue
Block a user