mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Paintings cant be placed in air
This commit is contained in:
parent
af79b29f26
commit
ce25cfbbc0
4 changed files with 59 additions and 35 deletions
|
|
@ -33,8 +33,8 @@ class Position extends Vector3{
|
|||
$this->level = $level;
|
||||
}
|
||||
|
||||
public function getSide($side){
|
||||
return new Position(parent::getSide($side), 0, 0, $this->level);
|
||||
public function getSide($side, $step = 1){
|
||||
return new Position(parent::getSide($side, $step), 0, 0, $this->level);
|
||||
}
|
||||
|
||||
public function distance($x = 0, $y = 0, $z = 0){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue