menu
#10302339 Custom item minecraft:opalynth_ingot is not registered

Submitted by PocketMine-MP 5.11.0

General information

Version: 5.11.0
Git commit: ce8fecc6
Plugin involvement: Direct
Report date: 2024-02-12 18:04:55 +0000 UTC
Server uptime: 0 days 0 hours 4 minutes 49 seconds

System Information

PHP version: 8.3.0
JIT status: Not available
Operating system: win
System banner: Windows NT DESKTOP-EDMD9AI 10.0 build 19045 (Windows 10) AMD64

Error information

Warning: the PlatiniumCustomies plugin was directly involved in this crash. Please contact the plugin author.
Thread: Main
Message: Custom item minecraft:opalynth_ingot is not registered
File: plugins/PlatiniumCustomies/src/item/CustomiesItemFactory
Line: #43
Type: InvalidArgumentException
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
	 */
private array $itemComponentEntries = [];

/**
* Get a custom item from its identifier. An exception will be thrown if the item is not registered.
*/
public function get(string $identifier, int $amount = 1): Item {
$item = StringToItemParser::getInstance()->parse($identifier);
if($item === null) {
throw new InvalidArgumentException("Custom item " . $identifier . " is not registered");
}
return $item->setCount($amount);
}

/**
* Returns the item properties CompoundTag which maps out all custom item properties.
* @return ItemComponentPacketEntry[]
*/
public function getItemComponentEntries(): array {
return $this->itemComponentEntries;
#0 plugins/PlatiniumCore/src/platiniumdevs/platiniumcore/listeners/playerlisteners/PlayerBreak(41): customiesdevs\customies\item\CustomiesItemFactory->get(string[24] minecraft:opalynth_ingot)
#1 pmsrc/src/event/RegisteredListener(61): platiniumdevs\platiniumcore\listeners\playerlisteners\PlayerBreak->onBlockBreak(object pocketmine\event\block\BlockBreakEvent#131130)
#2 pmsrc/src/event/Event(63): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\block\BlockBreakEvent#131130)
#3 pmsrc/src/world/World(2089): pocketmine\event\Event->call()
#4 pmsrc/src/player/Player(1791): pocketmine\world\World->useBreakOn(object pocketmine\math\Vector3#126600, object pocketmine\item\ItemBlock#130189, object platiniumdevs\platiniumcore\PlatiniumPlayer#126559, true, array[0])
#5 pmsrc/src/network/mcpe/handler/InGamePacketHandler(496): pocketmine\player\Player->breakBlock(object pocketmine\math\Vector3#123982)
#6 pmsrc/src/network/mcpe/handler/InGamePacketHandler(279): pocketmine\network\mcpe\handler\InGamePacketHandler->handleUseItemTransaction(object pocketmine\network\mcpe\protocol\types\inventory\UseItemTransactionData#134581)
#7 pmsrc/vendor/pocketmine/bedrock-protocol/src/PlayerAuthInputPacket(296): pocketmine\network\mcpe\handler\InGamePacketHandler->handlePlayerAuthInput(object pocketmine\network\mcpe\protocol\PlayerAuthInputPacket#123576)
#8 pmsrc/src/network/mcpe/NetworkSession(462): pocketmine\network\mcpe\protocol\PlayerAuthInputPacket->handle(object pocketmine\network\mcpe\handler\InGamePacketHandler#143659)
#9 pmsrc/src/network/mcpe/NetworkSession(400): pocketmine\network\mcpe\NetworkSession->handleDataPacket(object pocketmine\network\mcpe\protocol\PlayerAuthInputPacket#123576, string[138] ...H;B.z...Y.Cr=.B.m{C.........z............$........U_S5.....A......@..........)
#10 pmsrc/src/network/mcpe/raklib/RakLibInterface(219): pocketmine\network\mcpe\NetworkSession->handleEncoded(string[109] .c.ab.Qa.:..........(....'0vxX;}.ZyhF.$.".V...jg.(..7...FF&.'* !.........M....3.)
#11 pmsrc/vendor/pocketmine/raklib-ipc/src/RakLibToUserThreadMessageReceiver(40): pocketmine\network\mcpe\raklib\RakLibInterface->onPacketReceive(int 0, string[118] ..O5...`).....oe.D..K.p.A..;Pg....6=KF...3.....k...m.Km......r...6...^H6..".....)
#12 pmsrc/src/network/mcpe/raklib/RakLibInterface(111): raklib\server\ipc\RakLibToUserThreadMessageReceiver->handle(object pocketmine\network\mcpe\raklib\RakLibInterface#127042)
#13 pmsrc/src/TimeTrackingSleeperHandler(58): pocketmine\network\mcpe\raklib\RakLibInterface->pocketmine\network\mcpe\raklib\{closure}()
#14 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(120): pocketmine\TimeTrackingSleeperHandler->pocketmine\{closure}()
#15 pmsrc/src/TimeTrackingSleeperHandler(77): pocketmine\snooze\SleeperHandler->processNotifications()
#16 pmsrc/vendor/pocketmine/snooze/src/SleeperHandler(79): pocketmine\TimeTrackingSleeperHandler->processNotifications()
#17 pmsrc/src/Server(1699): pocketmine\snooze\SleeperHandler->sleepUntil(float 1707761095.8653)
#18 pmsrc/src/Server(1067): pocketmine\Server->tickProcessor()
#19 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[15] D:\temp\PM4Old\, string[23] D:\temp\PM4Old\plugins\)
#20 pmsrc/src/PocketMine(364): pocketmine\server()
#21 pmsrc(11): require(string[59] phar://D:/temp/PM4Old/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show