menu
#4550253 Class 'neocraft\Item' not found

Submitted by PocketMine-MP 3.15.0

General information

Version: 3.15.0
Git commit: a498b041
Plugin involvement: Direct
Report date: 2020-09-26 17:11:24 +0000 UTC

System Information

PHP version: 7.3.16
Operating system: linux
System banner: Linux d69d31d2-bbbb-4607-b8c2-f894ebfa7a48 4.4.0-157-generic #185-Ubuntu SMP Tue Jul 23 09:17:01 UTC 2019 x86_64

Error information

Warning: the NeoCraftHCF plugin was directly involved in this crash. Please contact the plugin author.
Message: Class 'neocraft\Item' not found
File: plugins/HCF.phar/src/neocraft/Main
Line: #62
Error level: Error
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
		//Utils::saveData();
}

public static function read(string $data, Inventory $inventory): void
{
$contents = [];
$inventoryTag = self::$nbtWriter->readCompressed($data)->getListTag("Inventory");
/** @var CompoundTag $tag */
foreach ($inventoryTag as $tag) {
$contents[$tag->getByte("Slot")] = Item::nbtDeserialize($tag);
}
$inventory->setContents($contents);
}

public static function write(Inventory $inventory): string
{
$contents = [];
foreach ($inventory->getContents() as $slot => $item) {
$contents[] = $item->nbtSerialize($slot);
}
#0 plugins/HCF.phar/src/neocraft/entity/Logout(66): neocraft\Main::read(string[75] ...........b`.d...+K.+./..b```db`.La`fd`u./.+aab`sI.MLO..1......U....\.9..., object pocketmine\inventory\PlayerInventory)
#1 src/pocketmine/entity/Entity(1393): neocraft\entity\Logout->entityBaseTick(integer 1)
#2 src/pocketmine/level/Level(852): pocketmine\entity\Entity->onUpdate(integer 633)
#3 src/pocketmine/level/Level(785): pocketmine\level\Level->actuallyDoTick(integer 633)
#4 src/pocketmine/Server(2267): pocketmine\level\Level->doTick(integer 633)
#5 src/pocketmine/Server(2398): pocketmine\Server->checkTickUpdates(integer 633, double 1601140284.3835)
#6 src/pocketmine/Server(2154): pocketmine\Server->tick()
#7 src/pocketmine/Server(1994): pocketmine\Server->tickProcessor()
#8 src/pocketmine/Server(1588): pocketmine\Server->start()
#9 src/pocketmine/PocketMine(273): pocketmine\Server->__construct(object BaseClassLoader, object pocketmine\utils\MainLogger, string[16] /home/container/, string[24] /home/container/plugins/)
#10 src/pocketmine/PocketMine(304): pocketmine\server()
#11 (11): require(string[71] phar:///home/container/PocketMine-MP.phar/src/pocketmine/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies