Skip to content
This repository was archived by the owner on Feb 9, 2021. It is now read-only.

Commit c7f578f

Browse files
committed
Possible fix for #2297
1 parent 19c0302 commit c7f578f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pocketmine/tile/Sign.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ public function getText(){
7171

7272
public function getSpawnCompound(){
7373
return new Compound("", [
74-
new String("Text1", $this->namedtag["Text1"]),
75-
new String("Text2", $this->namedtag["Text2"]),
76-
new String("Text3", $this->namedtag["Text3"]),
77-
new String("Text4", $this->namedtag["Text4"]),
7874
new String("id", Tile::SIGN),
75+
$this->namedtag->Text1,
76+
$this->namedtag->Text2,
77+
$this->namedtag->Text3,
78+
$this->namedtag->Text4,
7979
new Int("x", (int) $this->x),
8080
new Int("y", (int) $this->y),
8181
new Int("z", (int) $this->z)

0 commit comments

Comments
 (0)