menu
#3237456 Class 'AndreasHGK\SellAll\C' not found

Submitted by PocketMine-MP 3.9.7

General information

Version: 3.9.7
Git commit: 0c91d568
Plugin involvement: Direct
Report date: 2019-12-01 09:25:02 +0000 UTC

System Information

PHP version: 7.3.8
Operating system: linux
System banner: Linux 650c8b30f778 4.4.0-161-generic #189-Ubuntu SMP Tue Aug 27 08:10:16 UTC 2019 x86_64

Error information

Warning: the SellAll plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'AndreasHGK\SellAll\C' not found
File: plugins/SellAll.phar/src/AndreasHGK/SellAll/SellAll
Line: #40
Error level: Error
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
    public function replaceVars($str, array $vars) : string{
foreach($vars as $key => $value){
$str = str_replace("{" . $key . "}", $value, $str);
}
return $str;
}

public function onCommand(CommandSender $sender, Command $command, string $label, array $args) : bool{
if(!($sender instanceof Player)){
$sender->sendMessage(C::colorize("&cPlease execute this command in-game"));
return true;
}
switch($command->getName()){
case "sell":
if(!$sender->hasPermission("sellall.command")){
$sender->sendMessage(TextFormat::colorize($this->cfg["error.permission"]));
return true;
}
if(isset($args[0])){
switch(strtolower($args[0])){
#0 src/pocketmine/command/PluginCommand(58): AndreasHGK\SellAll\SellAll->onCommand(object pocketmine\command\ConsoleCommandSender, object pocketmine\command\PluginCommand, string[4] sell, array[1])
#1 src/pocketmine/command/SimpleCommandMap(270): pocketmine\command\PluginCommand->execute(object pocketmine\command\ConsoleCommandSender, string[4] sell, array[1])
#2 src/pocketmine/Server(2029): pocketmine\command\SimpleCommandMap->dispatch(object pocketmine\command\ConsoleCommandSender, string[8] sell all)
#3 src/pocketmine/Server(1616): pocketmine\Server->dispatchCommand(object pocketmine\command\ConsoleCommandSender, string[8] sell all)
#4 vendor/pocketmine/snooze/src/SleeperHandler(123): pocketmine\Server->pocketmine\{closure}()
#5 vendor/pocketmine/snooze/src/SleeperHandler(85): pocketmine\snooze\SleeperHandler->processNotifications()
#6 src/pocketmine/Server(2349): pocketmine\snooze\SleeperHandler->sleepUntil(double 1575192302.0771)
#7 src/pocketmine/Server(2206): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1784): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(278): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /aternos/server/, string[24] /aternos/server/plugins/)
#10 src/pocketmine/PocketMine(300): pocketmine\server()
#11 (1): require(string[64] phar:///aternos/server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show