mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Fix formatting issues due to bad IDE settings
This commit is contained in:
@ -24,22 +24,22 @@ namespace pocketmine\block;
|
||||
|
||||
class Sand extends Fallable{
|
||||
|
||||
protected $id = self::SAND;
|
||||
protected $id = self::SAND;
|
||||
|
||||
public function __construct($meta = 0){
|
||||
$this->meta = $meta;
|
||||
}
|
||||
|
||||
public function getHardness(){
|
||||
return 2.5;
|
||||
}
|
||||
public function getHardness(){
|
||||
return 2.5;
|
||||
}
|
||||
|
||||
public function getName(){
|
||||
if($this->meta === 0x01){
|
||||
return "Red Sand";
|
||||
}
|
||||
public function getName(){
|
||||
if($this->meta === 0x01){
|
||||
return "Red Sand";
|
||||
}
|
||||
|
||||
return "Sand";
|
||||
}
|
||||
return "Sand";
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user