mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 03:59:43 +00:00
some fixes
This commit is contained in:
parent
6cbc3824f3
commit
b6934024da
4 changed files with 11 additions and 4 deletions
|
|
@ -1,8 +1,13 @@
|
|||
<?php
|
||||
|
||||
class SandBlock extends FallableBlock{
|
||||
public function __construct(){
|
||||
parent::__construct(SAND, 0, "Sand");
|
||||
public function __construct($meta = 0){
|
||||
parent::__construct(SAND, $meta, "Sand");
|
||||
$names = [
|
||||
0 => "Sand",
|
||||
1 => "Red Sand"
|
||||
];
|
||||
$this->name = $names[$this->meta];
|
||||
$this->hardness = 2.5;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue