mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-05 17:36:12 +00:00
Remove Position->setWorld()
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user