mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-22 04:29:43 +00:00
fixed php5
This commit is contained in:
parent
d0994cd7bc
commit
c092ca82d2
1 changed files with 2 additions and 1 deletions
|
|
@ -95,7 +95,8 @@ abstract class Structure{
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
//var_dump($str);
|
//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){
|
private function setStructure($struct, $width, $length){
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue