Merge branch 'stable' into next-minor

# Conflicts:
#	composer.lock
This commit is contained in:
Dylan K. Taylor
2020-05-31 14:43:53 +01:00
7 changed files with 1543 additions and 45 deletions

View File

@ -1168,6 +1168,9 @@ abstract class Entity extends Location implements Metadatable, EntityIds{
if($teleport){
$pk->flags |= MoveActorAbsolutePacket::FLAG_TELEPORT;
}
if($this->onGround){
$pk->flags |= MoveActorAbsolutePacket::FLAG_GROUND;
}
$this->level->broadcastPacketToViewers($this, $pk);
}