mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 12:09: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);
|
||||
|
|
|
|||
|
|
@ -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){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue