Level: rename getName() to getDisplayName()

This commit is contained in:
Dylan K. Taylor
2019-01-17 16:46:56 +00:00
parent 76f1ee1827
commit e341f3dce2
9 changed files with 15 additions and 14 deletions

View File

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