mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 08:44:01 +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;
|
||||
|
||||
public function __construct(int $meta = 0){
|
||||
$this->meta = $meta;
|
||||
}
|
||||
|
||||
public function getName() : string{
|
||||
static $names = [
|
||||
self::NORMAL => "Purpur Block",
|
||||
|
@ -29,10 +29,6 @@ class WoodenSlab extends Slab{
|
||||
|
||||
protected $id = self::WOODEN_SLAB;
|
||||
|
||||
public function __construct(int $meta = 0){
|
||||
$this->meta = $meta;
|
||||
}
|
||||
|
||||
public function getDoubleSlabId() : int{
|
||||
return self::DOUBLE_WOODEN_SLAB;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user