mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-12 16:59:44 +00:00
Living: set SPRINTING flag when it's needed, close #3521
This commit is contained in:
parent
ec8ee29291
commit
f77eea8c44
@ -765,6 +765,7 @@ abstract class Living extends Entity{
|
|||||||
|
|
||||||
$this->networkProperties->setGenericFlag(EntityMetadataFlags::BREATHING, $this->breathing);
|
$this->networkProperties->setGenericFlag(EntityMetadataFlags::BREATHING, $this->breathing);
|
||||||
$this->networkProperties->setGenericFlag(EntityMetadataFlags::SNEAKING, $this->sneaking);
|
$this->networkProperties->setGenericFlag(EntityMetadataFlags::SNEAKING, $this->sneaking);
|
||||||
|
$this->networkProperties->setGenericFlag(EntityMetadataFlags::SPRINTING, $this->sprinting);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected function onDispose() : void{
|
protected function onDispose() : void{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user