mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Make block constructors not write to this->meta directly
This commit is contained in:
@ -30,7 +30,7 @@ class Netherrack extends Solid{
|
||||
protected $id = self::NETHERRACK;
|
||||
|
||||
public function __construct(int $meta = 0){
|
||||
$this->meta = $meta;
|
||||
$this->setDamage($meta);
|
||||
}
|
||||
|
||||
public function getName() : string{
|
||||
|
Reference in New Issue
Block a user