diff --git a/src/pocketmine/entity/Entity.php b/src/pocketmine/entity/Entity.php index ce06387b1..bcbc15f73 100644 --- a/src/pocketmine/entity/Entity.php +++ b/src/pocketmine/entity/Entity.php @@ -668,7 +668,7 @@ abstract class Entity extends Location implements Metadatable, EntityIds{ * Sets whether the entity is able to climb climbable blocks. * @param bool $value */ - public function setCanClimb(bool $value){ + public function setCanClimb(bool $value = true){ $this->setGenericFlag(self::DATA_FLAG_CAN_CLIMB, $value); }