menu
#3547943 Class 'DaPigGuy\PiggyCustomEnchants\CustomEnchants\CustomEnchants' not found

Submitted by PocketMine-MP 3.11.3

General information

Version: 3.11.3
Git commit: 0d5704b1
Plugin involvement: None
Report date: 2020-01-13 21:11:22 +0000 UTC

System Information

PHP version: 7.2.11
Operating system: linux
System banner: Linux 463702b7e60f 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64

Error information

Message: Class 'DaPigGuy\PiggyCustomEnchants\CustomEnchants\CustomEnchants' not found
File: /config/plugins/MysteryCrate.phar/src/JackMD/MysteryCrate/UpdaterEvent
Line: #173
Error level: Error
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
				$cmd = str_replace(["%PLAYER%"], [$player->getName()], $cmd);
$nbt->setString((string) $index, $cmd);
$item->setNamedTag($nbt);
}
}
if(isset($reward["enchantments"])){
foreach($reward["enchantments"] as $enchantName => $enchantData){
$level = $enchantData["level"];
$ce = $this->plugin->getServer()->getPluginManager()->getPlugin("PiggyCustomEnchants");
if(!is_null($ce) && !is_null($enchant = CustomEnchants::getEnchantmentByName($enchantName))){
if($ce instanceof CE){
$item = $ce->addEnchantment($item, $enchantName, $level);
}
}else{
if(!is_null($enchant = Enchantment::getEnchantmentByName($enchantName))){
$item->addEnchantment(new EnchantmentInstance($enchant, $level));
}
}
}
}
#0 /config/plugins/MysteryCrate.phar/src/JackMD/MysteryCrate/UpdaterEvent(216): JackMD\MysteryCrate\UpdaterEvent->getReward()
#1 src/pocketmine/scheduler/TaskHandler(159): JackMD\MysteryCrate\UpdaterEvent->onRun(integer 1210)
#2 src/pocketmine/scheduler/TaskScheduler(199): pocketmine\scheduler\TaskHandler->run(integer 1210)
#3 src/pocketmine/plugin/PluginManager(682): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1210)
#4 src/pocketmine/Server(2570): pocketmine\plugin\PluginManager->tickSchedulers(integer 1210)
#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[12] /pocketmine/, string[20] /pocketmine/plugins/)
#9 src/pocketmine/PocketMine(291): pocketmine\server()
#10 (1): require(string[67] phar:///pocketmine/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show