mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-03 08:39:53 +00:00
Possible fix for #2297
This commit is contained in:
parent
19c030281f
commit
c7f578f297
@ -71,11 +71,11 @@ class Sign extends Spawnable{
|
|||||||
|
|
||||||
public function getSpawnCompound(){
|
public function getSpawnCompound(){
|
||||||
return new Compound("", [
|
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),
|
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("x", (int) $this->x),
|
||||||
new Int("y", (int) $this->y),
|
new Int("y", (int) $this->y),
|
||||||
new Int("z", (int) $this->z)
|
new Int("z", (int) $this->z)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user