From 7c806c7920855d8dd582a281cb09e9bb7eb8efe2 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Date: Sat, 30 May 2015 17:29:38 +0200 Subject: [PATCH] Added missing brace --- src/pocketmine/Player.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/Player.php b/src/pocketmine/Player.php index 73ed5b85e..21d2ff20d 100644 --- a/src/pocketmine/Player.php +++ b/src/pocketmine/Player.php @@ -1366,7 +1366,7 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade public function setMotion(Vector3 $mot){ if(parent::setMotion($mot)){ $this->addEntityMotion($this->getId(), $this->motionX, $this->motionY, $this->motionZ); - if($this->motionY > 0) + if($this->motionY > 0){ $this->startAirTicks = (-(log($this->gravity / ($this->gravity + $this->drag * $this->motionY))) / $this->drag) * 2 + 5; }