mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-04 17:06:16 +00:00
Updated PocketMine Math dependency
This commit is contained in:
@ -104,10 +104,8 @@ class Position extends Vector3{
|
||||
* @param int $step
|
||||
*
|
||||
* @return Position
|
||||
*
|
||||
* @throws LevelException
|
||||
*/
|
||||
public function getSide($side, $step = 1){
|
||||
public function getSide(int $side, int $step = 1){
|
||||
assert($this->isValid());
|
||||
|
||||
return Position::fromObject(parent::getSide($side, $step), $this->level);
|
||||
|
Reference in New Issue
Block a user