Skip to content

Commit

Permalink
Painting: fixed performance bug, close pmmp#2117
Browse files Browse the repository at this point in the history
  • Loading branch information
dktapps committed Mar 25, 2018
1 parent be7c27f commit 924334a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pocketmine/entity/object/Painting.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ protected function recalculateBoundingBox() : void{
$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){
Expand Down

0 comments on commit 924334a

Please sign in to comment.