menu
#7033989 Custom block 1000 is not registered

Submitted by PocketMine-MP 4.5.1

General information

Version: 4.5.1
Git commit: d641812c
Plugin involvement: Direct
Report date: 2022-06-23 09:30:32 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 17 seconds

System Information

PHP version: 8.0.12
Operating system: win
System banner: Windows NT DESKTOP-ECGV35K 10.0 build 19044 (Windows 10) AMD64

Error information

Warning: the Customies plugin was directly involved in this crash. Please contact the plugin author.
Message: Custom block 1000 is not registered
File: plugins/Customies_dev-17.phar/src/block/CustomiesBlockFactory
Line: #94
Error level: InvalidArgumentException
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
		});
}

/**
* Get a custom block from its identifier. An exception will be thrown if the block is not registered.
*/
public function get(string $identifier): Block {
$id = LegacyBlockIdToStringIdMap::getInstance()->stringToLegacy($identifier) ?? -1;
if($id < 0) {
throw new InvalidArgumentException("Custom block " . $identifier . " is not registered");
}

return BlockFactory::getInstance()->get($id, 0);
}

/**
* Returns all the block palette entries that need to be sent to the client.
* @return BlockPaletteEntry[]
*/
public function getBlockPaletteEntries(): array {
#0 plugins/MiniCore/src/ghost/Core/Blocks/BlocksEffects/PoisonBlock(28): customiesdevs\customies\block\CustomiesBlockFactory->get(string[4] 1000, int 0)
#1 pmsrc/src/event/RegisteredListener(60): ghost\Core\Blocks\BlocksEffects\PoisonBlock->PoisonBlock(object pocketmine\event\player\PlayerMoveEvent#120728)
#2 pmsrc/src/event/Event(62): pocketmine\event\RegisteredListener->callEvent(object pocketmine\event\player\PlayerMoveEvent#120728)
#3 pmsrc/src/player/Player(1240): pocketmine\event\Event->call()
#4 pmsrc/src/player/Player(1327): pocketmine\player\Player->processMostRecentMovements()
#5 pmsrc/src/world/World(842): pocketmine\player\Player->onUpdate(int 294)
#6 pmsrc/src/world/World(768): pocketmine\world\World->actuallyDoTick(int 294)
#7 pmsrc/src/world/WorldManager(348): pocketmine\world\World->doTick(int 294)
#8 pmsrc/src/Server(1818): pocketmine\world\WorldManager->tick(int 294)
#9 pmsrc/src/Server(1700): pocketmine\Server->tick()
#10 pmsrc/src/Server(1063): pocketmine\Server->tickProcessor()
#11 pmsrc/src/PocketMine(304): pocketmine\Server->__construct(object BaseClassLoader#2, object pocketmine\utils\MainLogger#3, string[41] C:\Users\POP\Documents\AApocketmine serv\, string[49] C:\Users\POP\Documents\AApocketmine serv\plugins\)
#12 pmsrc/src/PocketMine(327): pocketmine\server()
#13 pmsrc(11): require(string[85] phar://C:/Users/POP/Documents/AApocketmine serv/PocketMine-MP.phar/src/PocketMin)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed PHP Extensions

  • Show