mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09:43 +00:00
Fixed ladders
This commit is contained in:
parent
4f3e49b6a9
commit
8d2862a744
4 changed files with 9 additions and 6 deletions
|
|
@ -39,9 +39,11 @@ class LadderBlock extends TransparentBlock{
|
|||
4 => 4,
|
||||
5 => 5,
|
||||
);
|
||||
$this->meta = $faces[$face];
|
||||
$this->level->setBlock($block, $this);
|
||||
return true;
|
||||
if(isset($faces[$face])){
|
||||
$this->meta = $faces[$face];
|
||||
$this->level->setBlock($block, $this);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue