Closed Arthur4848 closed 3 years ago
Please provide example code where this doesn't work.
yes, wait a second ^^
This isn't a chat forum. Just send it when you have it.
new SignText();
Main::$count++;
$text = new SignText([
"Test",
"§0",
Main::$count++,
"§0"
]);
$this->getSign()->setText($text);
}```
Main::$count is by default 0. Every tick it's one more. But the sign doesn't update. (This code has worked with PM3)
Your code is wrong. Like all other block property changes, you have to setBlock() to see the result of the change.
Can you send a small example? i am new in plugin development D:
Thanks, but this issue tracker is not intended for support requests. Please read the guidelines on submitting an issue.
Issue description
Steps to reproduce the issue
OS and versions
Plugins
Crashdump, backtrace or other files