mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 19:49:44 +00:00
Slab placement fix
This commit is contained in:
parent
5bca4242c2
commit
4aa0f8f8d1
2 changed files with 4 additions and 1 deletions
|
|
@ -71,6 +71,9 @@ class SlabBlock extends TransparentBlock{
|
|||
}else{
|
||||
return false;
|
||||
}
|
||||
if($block->getID() === SLAB and ($target->getMetadata() & 0x07) !== ($this->meta & 0x07)){
|
||||
return false;
|
||||
}
|
||||
$level->setBlock($block, $this->id, $this->meta);
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue