mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 04:00:29 +00:00
remove a couple more Position->getWorld() usages
This commit is contained in:
@@ -1329,7 +1329,7 @@ abstract class Entity{
|
||||
}
|
||||
|
||||
public function getWorld() : World{
|
||||
return $this->location->getWorld();
|
||||
return $this->location->getWorldNonNull();
|
||||
}
|
||||
|
||||
protected function setPosition(Vector3 $pos) : bool{
|
||||
|
Reference in New Issue
Block a user