menu
#7863350 Type of refaltor\customitemapi\items\CustomArmor::$lore must be array (as in class pocketmine\item\Item)

Submitted by PocketMine-MP 5.0.0-ALPHA5

General information

Version: 5.0.0-ALPHA5
Git commit: 90305a0b
Plugin involvement: Direct
Report date: 2022-11-24 17:27:59 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 1 seconds

System Information

PHP version: 8.0.19
JIT status: Disabled
Operating system: win
System banner: Windows NT VK 10.0 build 22000 (Windows 10) AMD64

Error information

Warning: a plugin was directly involved in this crash. Please contact the plugin author.
Message: Type of refaltor\customitemapi\items\CustomArmor::$lore must be array (as in class pocketmine\item\Item)
File: plugins/CustomItemAPI/src/refaltor/customitemapi/items/CustomArmor
Line: #36
Error level: E_COMPILE_ERROR
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
use pocketmine\item\ArmorTypeInfo;
use pocketmine\item\ItemIdentifier;
use pocketmine\item\ItemUseResult;
use pocketmine\math\Vector3;
use pocketmine\nbt\tag\CompoundTag;
use pocketmine\player\Player;
use pocketmine\Server;
use refaltor\customitemapi\traits\UtilsTrait;

class CustomArmor extends Armor
{

use UtilsTrait;

protected $lore = [''];

const ARMOR_CLASS = [
"gold",
"none",
"leather",

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show