mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-07 02:21:46 +00:00
Fixes Position::fromObject() $strong parameter neglected
This commit is contained in:
parent
2784925a5e
commit
2cead226db
@ -46,7 +46,7 @@ class Position extends Vector3{
|
||||
}
|
||||
|
||||
public static function fromObject(Vector3 $pos, Level $level, $strong = false){
|
||||
return new Position($pos->x, $pos->y, $pos->z, $level);
|
||||
return new Position($pos->x, $pos->y, $pos->z, $level, $strnog);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user