mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-07 02:21:46 +00:00
Remove some redundant constructor overrides
This commit is contained in:
parent
5a353012de
commit
d99e9513b0
@ -27,10 +27,6 @@ class Purpur extends Quartz{
|
|||||||
|
|
||||||
protected $id = self::PURPUR_BLOCK;
|
protected $id = self::PURPUR_BLOCK;
|
||||||
|
|
||||||
public function __construct(int $meta = 0){
|
|
||||||
$this->meta = $meta;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getName() : string{
|
public function getName() : string{
|
||||||
static $names = [
|
static $names = [
|
||||||
self::NORMAL => "Purpur Block",
|
self::NORMAL => "Purpur Block",
|
||||||
|
@ -29,10 +29,6 @@ class WoodenSlab extends Slab{
|
|||||||
|
|
||||||
protected $id = self::WOODEN_SLAB;
|
protected $id = self::WOODEN_SLAB;
|
||||||
|
|
||||||
public function __construct(int $meta = 0){
|
|
||||||
$this->meta = $meta;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getDoubleSlabId() : int{
|
public function getDoubleSlabId() : int{
|
||||||
return self::DOUBLE_WOODEN_SLAB;
|
return self::DOUBLE_WOODEN_SLAB;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user