mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 17:06:16 +00:00
Fixed bugs related to #24 such as getName() on null
This commit is contained in:
@ -64,7 +64,7 @@ class Position extends Vector3{
|
||||
* @return bool
|
||||
*/
|
||||
public function isValid(){
|
||||
return $this->level !== null;
|
||||
return $this->getLevel() !== null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user