Possible fix for #2297

This commit is contained in:
Shoghi Cervantes 2014-11-18 13:57:03 +01:00
parent 19c030281f
commit c7f578f297

View File

@ -71,11 +71,11 @@ class Sign extends Spawnable{
public function getSpawnCompound(){
return new Compound("", [
new String("Text1", $this->namedtag["Text1"]),
new String("Text2", $this->namedtag["Text2"]),
new String("Text3", $this->namedtag["Text3"]),
new String("Text4", $this->namedtag["Text4"]),
new String("id", Tile::SIGN),
$this->namedtag->Text1,
$this->namedtag->Text2,
$this->namedtag->Text3,
$this->namedtag->Text4,
new Int("x", (int) $this->x),
new Int("y", (int) $this->y),
new Int("z", (int) $this->z)