mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-03 16:45:13 +00:00
Possible fix for #1661
This commit is contained in:
@ -29,7 +29,7 @@ use pocketmine\nbt\tag\String;
|
||||
class Sign extends Spawnable{
|
||||
|
||||
public function __construct(FullChunk $chunk, Compound $nbt){
|
||||
$nbt["id"] = Tile::SIGN;
|
||||
$nbt->id = new String("id", Tile::SIGN);
|
||||
if(!isset($nbt->Text1)){
|
||||
$nbt->Text1 = new String("Text1", "");
|
||||
}
|
||||
|
Reference in New Issue
Block a user