mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Painting: fixed performance bug, close #2117
This commit is contained in:
parent
be7c27f60d
commit
924334a776
@ -139,8 +139,8 @@ class Painting extends Entity{
|
||||
$this->boundingBox->setBB(self::getPaintingBB($this->blockIn->getSide($facing), $facing, $this->getMotive()));
|
||||
}
|
||||
|
||||
protected function tryChangeMovement(){
|
||||
$this->motionX = $this->motionY = $this->motionZ = 0;
|
||||
public function hasMovementUpdate() : bool{
|
||||
return false;
|
||||
}
|
||||
|
||||
protected function updateMovement(bool $teleport = false){
|
||||
|
Loading…
x
Reference in New Issue
Block a user