diff --git a/src/pocketmine/level/Location.php b/src/pocketmine/level/Location.php index 64e8ec32f..8258224ba 100644 --- a/src/pocketmine/level/Location.php +++ b/src/pocketmine/level/Location.php @@ -52,6 +52,6 @@ class Location extends Position{ } public function __toString(){ - return return "Location(level=" . ($this->isValid() ? $this->getLevel()->getName() : "null") . ",x=$this->x,y=$this->y,z=$this->z,yaw=$this->yaw,pitch=$this->pitch)"; + return "Location (level=" . ($this->isValid() ? $this->getLevel()->getName() : "null") . ", x=$this->x, y=$this->y, z=$this->z, yaw=$this->yaw, pitch=$this->pitch)"; } }