menu
#2387335 Class 'onebone\economyapi\EconomyAPI' not found

Submitted by PocketMine-MP 3.8.2

General information

Version: 3.8.2
Git commit: 5c81da9b
Plugin involvement: Direct
Report date: 2019-05-15 16:45:34 +0000 UTC

System Information

PHP version: 7.2.16
Operating system: linux
System banner: Linux PufferMC 4.4.0-145-generic #171-Ubuntu SMP Tue Mar 26 12:43:40 UTC 2019 x86_64

Error information

Warning: the SkyWars plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'onebone\economyapi\EconomyAPI' not found
File: plugins/SkyWars_v1.3.8.phar/src/SkyWars/kits/Kits
Line: #124
Error level: Error
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134

$player->getLevel()->broadcastLevelSoundEvent($player->asVector3(), LevelSoundEventPacket::SOUND_CHEST_OPEN);
}

public function receiveKit(Player $player){
if (isset($this->kits[$player->getName()])){
$kit = $this->kits[$player->getName()];

if (isset($kit["price"])){
if (EconomyAPI::getInstance()->myMoney($player) >= $kit["price"]){
EconomyAPI::getInstance()->reduceMoney($player, $kit["price"]);
$money = true;
}else $money = false;
}else $money = true;

if ($money){
if (isset($kit["Items"])){
foreach ($kit["Items"] as $item){
$item = explode(":", $item);

#0 plugins/SkyWars_v1.3.8.phar/src/SkyWars/arena/Arena(324): SkyWars\kits\Kits->receiveKit(pocketmine\Player object)
#1 plugins/SkyWars_v1.3.8.phar/src/SkyWars/arena/ArenaScheduler(60): SkyWars\arena\Arena->startGame()
#2 src/pocketmine/scheduler/TaskHandler(159): SkyWars\arena\ArenaScheduler->onRun(integer 66001)
#3 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 66001)
#4 src/pocketmine/plugin/PluginManager(688): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 66001)
#5 src/pocketmine/Server(2558): pocketmine\plugin\PluginManager->tickSchedulers(integer 66001)
#6 src/pocketmine/Server(2334): pocketmine\Server->tick()
#7 src/pocketmine/Server(2195): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1774): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(266): pocketmine\Server->__construct(BaseClassLoader object, pocketmine\utils\MainLogger object, string /var/lib/pufferd/servers/0dda10ee-b696-48e8-9ca5-11096dc26652/, string /var/lib/pufferd/servers/0dda10ee-b696-48e8-9ca5-11096dc26652/plugins/)
#10 (1): require(string phar:///var/lib/pufferd/servers/0dda10ee-b696-48e8-9ca5-11096dc26652/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show