Merge branch 'master' of github.com:pmmp/PocketMine-MP

This commit is contained in:
Dylan K. Taylor 2021-11-08 17:17:20 +00:00
commit be6d1843de
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -98,7 +98,7 @@ class Position extends Vector3{
}
public function __toString(){
return "Position(level=" . ($this->isValid() ? $this->getWorld()->getDisplayName() : "null") . ",x=" . $this->x . ",y=" . $this->y . ",z=" . $this->z . ")";
return "Position(world=" . ($this->isValid() ? $this->getWorld()->getDisplayName() : "null") . ",x=" . $this->x . ",y=" . $this->y . ",z=" . $this->z . ")";
}
public function equals(Vector3 $v) : bool{