added keepinventory into extra.properties

This commit is contained in:
GameHerobrine 2024-11-28 22:23:54 +03:00
parent 57f8067434
commit a39791f092
5 changed files with 9 additions and 5 deletions

View file

@ -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);