menu
#3978897 Class 'PiggyCustomEnchants\CustomEnchants\CustomEnchants' not found

Submitted by PocketMine-MP 3.11.4

General information

Version: 3.11.4
Git commit: 13f28d84
Plugin involvement: Direct
Report date: 2020-03-25 08:26:46 +0000 UTC

System Information

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

Error information

Warning: the MysteryCrate plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'PiggyCustomEnchants\CustomEnchants\CustomEnchants' not found
File: plugins/MysteryCrate.phar/src/JackMD/MysteryCrate/UpdaterEvent
Line: #102
Error level: Error
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
					}
foreach($drops as $drop){
$values = $this->plugin->getCrateDrops($type)[$drop];;
$i = Item::get(($values["id"]), $values["meta"], $values["amount"]);
$i->setCustomName($values["name"]);
if(isset($values["enchantments"])){
foreach($values["enchantments"] as $enchantment => $enchantmentinfo){
$level = $enchantmentinfo["level"];
$ce = $this->plugin->getServer()->getPluginManager()->getPlugin("PiggyCustomEnchants");
if(!is_null($ce) && !is_null($enchant = CustomEnchants::getEnchantmentByName($enchantment))){
if($ce instanceof CE){
$i = $ce->addEnchantment($i, $enchantment, $level);
}
}else{
if(!is_null($enchant = Enchantment::getEnchantmentByName($enchantment))){
$i->addEnchantment(new EnchantmentInstance($enchant, $level));
}
}
}
}
#0 src/pocketmine/scheduler/TaskHandler(169): JackMD\MysteryCrate\UpdaterEvent->onRun(integer 1625)
#1 src/pocketmine/scheduler/TaskScheduler(206): pocketmine\scheduler\TaskHandler->run(integer 1625)
#2 src/pocketmine/plugin/PluginManager(703): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(integer 1625)
#3 src/pocketmine/Server(2670): pocketmine\plugin\PluginManager->tickSchedulers(integer 1625)
#4 src/pocketmine/Server(2403): pocketmine\Server->tick()
#5 src/pocketmine/Server(2250): pocketmine\Server->tickProcessor()
#6 src/pocketmine/Server(1811): pocketmine\Server->start()
#7 src/pocketmine/PocketMine(274): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /aternos/server/, string[24] /aternos/server/plugins/)
#8 src/pocketmine/PocketMine(297): pocketmine\server()
#9 (1): require(string[64] phar:///aternos/server/server.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show