Fixed bugs related to #24 such as getName() on null

This commit is contained in:
Dylan K. Taylor
2016-10-30 19:21:48 +00:00
parent 4856dbd1c6
commit 7a1cdf88e8
3 changed files with 84 additions and 5 deletions

View File

@ -64,7 +64,7 @@ class Position extends Vector3{
* @return bool
*/
public function isValid(){
return $this->level !== null;
return $this->getLevel() !== null;
}
/**