menu
#254 Class "themestl\fourcosmetic\FourCosmetic" not found

Submitted by PocketMine-MP 5.20.1+dev

General information

Version: 5.20.1+dev
Git commit: 00000000
Plugin involvement: Direct
Report date: 2024-10-29 17:00:11 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 3 seconds

System Information

PHP version: 8.3.4
JIT status: Not available
Operating system: linux
System banner: Linux anmine.ru 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64

Error information

Warning: the GoCases plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Class "themestl\fourcosmetic\FourCosmetic" not found
File: plugins/GoCases/src/themestl/gocases/cases/CosmeticCase
Line: #27
Type: Error
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
private static float $maxChance = 0;
private static array $all = [];

public function __construct(Vector3 $vector, string $type, string $floating, string $info)
{
parent::__construct($vector, $type, $floating, $info);

$max = 0;
foreach (FourCosmetic::getInstance()->getCosmeticManagers() as $cosmeticManager) {
foreach ($cosmeticManager->getCosmeticList() as $cosmetic => $item) {
if ($item::PRICE > 5000 || $item::EXCLUSIVE) {
continue;
}
self::$all[] = ['category' => $cosmeticManager->getCosmeticTypeName(), 'cosmetic' => $item, 'name' => $item::NAME];
$max = max($item::PRICE, $max);
}
}

foreach (self::$all as &$item) {
#0 plugins/GoCases/src/themestl/gocases/CasesLoader(45): themestl\gocases\cases\CosmeticCase->__construct(object pocketmine\math\Vector3#90976, string[8] cosmetic, string[360] ..6... ..c..l........ .. .......................r...0..a... ..f.......... ..7- ., string[327] ..e..l.....r ..f.............. .... ..........: ..l..aAnMine.su..r...r...0..a...)
#1 pmsrc/src/plugin/PluginBase(119): themestl\gocases\CasesLoader->onEnable()
#2 pmsrc/src/plugin/PluginManager(456): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#3 pmsrc/src/Server(1465): pocketmine\plugin\PluginManager->enablePlugin(object themestl\gocases\CasesLoader#77316)
#4 pmsrc/src/Server(1086): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#55820)
#5 pmsrc/src/PocketMine(355): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#3, object pocketmine\utils\MainLogger#6, string[25] /home/anmine/servers/s99/, string[33] /home/anmine/servers/s99/plugins/)
#6 pmsrc/src/PocketMine(378): pocketmine\server()

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show