menu
#3547910 Call to undefined method pocketmine\tile\Skull::setText()

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: Direct
Report date: 2020-01-13 21:05:34 +0000 UTC

System Information

PHP version: 7.3.8
Operating system: linux
System banner: Linux be5147d2b2b6 4.4.0-164-generic #192-Ubuntu SMP Fri Sep 13 12:02:50 UTC 2019 x86_64

Error information

Warning: the 1vs1 plugin was directly involved in this crash. Please contact the plugin author.
Message: Call to undefined method pocketmine\tile\Skull::setText()
File: plugins/1vs1.phar/src/vixikhd/onevsone/arena/ArenaScheduler
Line: #142
Error level: Error
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
            "§6Setup",
"§6Wait few sec..."
];

if($signPos->getLevel()->getTile($signPos) === null) return;

if($this->plugin->setup) {
/** @var Sign $sign */
$sign = $signPos->getLevel()->getTile($signPos);
$sign->setText($signText[0], $signText[1], $signText[2], $signText[3]);
return;
}

$signText[1] = "§9[ §b" . count($this->plugin->players) . " / " . $this->plugin->data["slots"] . " §9]";

switch ($this->plugin->phase) {
case Arena::PHASE_LOBBY:
if(count($this->plugin->players) >= $this->plugin->data["slots"]) {
$signText[2] = "§6Full";
$signText[3] = "§8Map: §7{$this->plugin->level->getFolderName()}";
#0 plugins/1vs1.phar/src/vixikhd/onevsone/arena/ArenaScheduler(65): vixikhd\onevsone\arena\ArenaScheduler->reloadSign()
#1 src/pocketmine/scheduler/TaskHandler(159): vixikhd\onevsone\arena\ArenaScheduler->onRun(integer 29489)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 29489)
#3 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 29489)
#4 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 29489)
#5 src/pocketmine/Server(2346): pocketmine\Server->tick()
#6 src/pocketmine/Server(2203): pocketmine\Server->tickProcessor()
#7 src/pocketmine/Server(1785): pocketmine\Server->start()
#8 src/pocketmine/PocketMine(268): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /aternos/server/, string[24] /aternos/server/plugins/)
#9 src/pocketmine/PocketMine(291): pocketmine\server()
#10 (1): require(string[64] phar:///aternos/server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show