fixed php5

This commit is contained in:
GameHerobrine 2023-06-06 19:22:18 +03:00
parent d0994cd7bc
commit c092ca82d2

View file

@ -95,7 +95,8 @@ abstract class Structure{
return $this;
}
//var_dump($str);
return (clone $this)->setStructure($str, $this->width, $this->length);
$s = (clone $this);
return $s->setStructure($str, $this->width, $this->length);
}
private function setStructure($struct, $width, $length){