menu
#9249329 Class "Labality\Boss\ItemFactory" not found

Submitted by PocketMine-MP 5.5.0

General information

Version: 5.5.0
Git commit: c8d357f4
Plugin involvement: Direct
Report date: 2023-09-19 15:58:41 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 2 seconds

System Information

PHP version: 8.1.23
JIT status: Not available
Operating system: linux
System banner: Linux 69b6b551-6632-405c-b12d-03a8761e6d75 5.15.0-82-generic #91-Ubuntu SMP Mon Aug 14 14:14:14 UTC 2023 x86_64

Error information

Warning: the BossfixAllzn plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Class "Labality\Boss\ItemFactory" not found
File: plugins/Boss/src/Labality/Boss/Main
Line: #150
Type: Error
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160

//Rewards resolver

$drops = [];

foreach ($config->get("drops") as $top => $rewards) {
$drops[$top][Boss::COMMANDS_REWARDS] = $rewards["commands"];
$chance = 0;
foreach ($rewards["items"] as $itemData) {
$item = ItemFactory::getInstance()->get($itemData[0], $itemData[1], $itemData[2]);
$item->setCustomName(TextFormat::colorize("&r{$itemData[3]}"));
$lores = explode("\n", $itemData[4]);
foreach ($lores as $id => $lore) {
$lores[$id] = TextFormat::colorize($lore);
}
$item->setLore($lores);
foreach ($itemData[5] as $id => $level) {
//$enchantment = new EnchantmentInstance(Enchantment::getEnchantment($id), $level);
$enchantment = new EnchantmentInstance(EnchantmentIdMap::fromId($id), $level);
$item->addEnchantment($enchantment);
#0 plugins/Boss/src/Labality/Boss/Main(69): Labality\Boss\Main->resourceFletch()
#1 pmsrc/src/plugin/PluginBase(119): Labality\Boss\Main->onEnable()
#2 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#3 pmsrc/src/Server(1389): pocketmine\plugin\PluginManager->enablePlugin(object Labality\Boss\Main#41679)
#4 pmsrc/src/Server(1033): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#41618)
#5 pmsrc/src/PocketMine(334): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#6 pmsrc/src/PocketMine(357): pocketmine\server()
#7 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show