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

View file

@ -6,7 +6,7 @@ class LiquidBlockDynamic extends LiquidBlock{
}
public static $blockID = 0;
public static $sourcesAround = 0; //TODO rename
public static $sourcesAround = 0;
public static $spread = [0, 0, 0, 0];
public static function getHighest(Level $level, $x, $y, $z, $highest){