menu
#10302286 Custom item minecraft:plotonium_dust 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 17:53:57 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 13 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:plotonium_dust 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/AdvancedSpawner/src/AdvancedSpawner(43): customiesdevs\customies\item\CustomiesItemFactory->get(string[24] minecraft:plotonium_dust)
#1 pmsrc/src/plugin/PluginBase(119): AdvancedSpawner->onEnable()
#2 pmsrc/src/plugin/PluginManager(454): pocketmine\plugin\PluginBase->onEnableStateChange(true)
#3 pmsrc/src/Server(1407): pocketmine\plugin\PluginManager->enablePlugin(object AdvancedSpawner#161565)
#4 pmsrc/src/Server(1036): pocketmine\Server->enablePlugins(object pocketmine\plugin\PluginEnableOrder#45232)
#5 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\)
#6 pmsrc/src/PocketMine(364): pocketmine\server()
#7 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