fix improper cloning of some blocks, closes #3079

This commit is contained in:
Dylan K. Taylor 2019-08-06 10:07:16 +01:00
parent 4e5b296c8c
commit 9671b4d5cb
2 changed files with 2 additions and 0 deletions

View File

@ -66,6 +66,7 @@ class Banner extends Transparent{
}
public function __clone(){
parent::__clone();
$this->patterns = $this->patterns->map(Utils::cloneCallback());
}

View File

@ -60,6 +60,7 @@ class Sign extends Transparent{
}
public function __clone(){
parent::__clone();
$this->text = clone $this->text;
}