mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-08 19:02:59 +00:00
Make block constructors not write to this->meta directly
This commit is contained in:
@ -38,7 +38,7 @@ class MelonStem extends Crops{
|
||||
}
|
||||
|
||||
public function __construct(int $meta = 0){
|
||||
$this->meta = $meta;
|
||||
$this->setDamage($meta);
|
||||
}
|
||||
|
||||
public function onRandomTick() : void{
|
||||
|
Reference in New Issue
Block a user