Remove Position->setWorld()

This commit is contained in:
Dylan K. Taylor
2020-05-19 18:33:16 +01:00
parent 148228e360
commit 8a8b1b0b97
5 changed files with 26 additions and 24 deletions

View File

@ -345,10 +345,7 @@ class Block{
* @internal
*/
final public function position(World $world, int $x, int $y, int $z) : void{
$this->pos->x = $x;
$this->pos->y = $y;
$this->pos->z = $z;
$this->pos->world = $world;
$this->pos = new Position($x, $y, $z, $world);
}
/**