mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-15 18:29:46 +00:00
fix improper cloning of some blocks, closes #3079
This commit is contained in:
parent
4e5b296c8c
commit
9671b4d5cb
@ -66,6 +66,7 @@ class Banner extends Transparent{
|
||||
}
|
||||
|
||||
public function __clone(){
|
||||
parent::__clone();
|
||||
$this->patterns = $this->patterns->map(Utils::cloneCallback());
|
||||
}
|
||||
|
||||
|
@ -60,6 +60,7 @@ class Sign extends Transparent{
|
||||
}
|
||||
|
||||
public function __clone(){
|
||||
parent::__clone();
|
||||
$this->text = clone $this->text;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user