From 16d72c7f86eaa8394e833cd78a3bcee965dfb64a Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Sun, 30 Oct 2016 17:03:00 +0000 Subject: [PATCH] Remove redundant type-hint causing crashes --- src/pocketmine/entity/Entity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index 83d60427c..650e133e1 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -395,7 +395,7 @@ abstract class Entity extends Location implements Metadatable{ return $this->getDataFlag(self::DATA_FLAGS, self::DATA_FLAG_IMMOBILE); } - public function setImmobile($value = true) : bool{ + public function setImmobile($value = true){ return $this->setDataFlag(self::DATA_FLAGS, self::DATA_FLAG_IMMOBILE, $value); }