mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39: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
|
|
@ -220,8 +220,8 @@ abstract class Block extends Position{
|
|||
return $this->breakTime;
|
||||
}
|
||||
|
||||
public function getSide($side){
|
||||
$v = parent::getSide($side);
|
||||
public function getSide($side, $step = 1){
|
||||
$v = parent::getSide($side, $step);
|
||||
if($this->level instanceof Level){
|
||||
return $this->level->getBlock($v);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue