remove a couple more Position->getWorld() usages

This commit is contained in:
Dylan K. Taylor
2020-05-19 21:38:51 +01:00
parent 81dff6d4c5
commit 3f1f135a59
4 changed files with 4 additions and 15 deletions

View File

@@ -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{