1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-07-28 05:35:40 +00:00

Living: set SPRINTING flag when it's needed, close

This commit is contained in:
Dylan K. Taylor 2020-05-21 20:01:37 +01:00
parent ec8ee29291
commit f77eea8c44

@ -765,6 +765,7 @@ abstract class Living extends Entity{
$this->networkProperties->setGenericFlag(EntityMetadataFlags::BREATHING, $this->breathing);
$this->networkProperties->setGenericFlag(EntityMetadataFlags::SNEAKING, $this->sneaking);
$this->networkProperties->setGenericFlag(EntityMetadataFlags::SPRINTING, $this->sprinting);
}
protected function onDispose() : void{