mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
added keepinventory into extra.properties
This commit is contained in:
parent
57f8067434
commit
a39791f092
5 changed files with 9 additions and 5 deletions
|
|
@ -12,7 +12,7 @@ class TrapdoorBlock extends TransparentBlock{
|
|||
}
|
||||
$this->hardness = 15;
|
||||
}
|
||||
//TODO collision box
|
||||
|
||||
public function canAttachTo(Block $target){
|
||||
$id = $target->getID();
|
||||
return $id === SLAB || $id === GLOWSTONE || $id === SLAB || $id === WOOD_SLAB || (!$target->isTransparent || $target instanceof StairBlock);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue