menu
#247 Block ID 10719 is already used by another block

Submitted by PocketMine-MP 5.19.1+dev.2067

General information

Version: 5.19.1+dev.2067
Git commit: 8c4e23c4
Plugin involvement: Indirect
Report date: 2024-10-26 03:18:36 +0000 UTC
Server uptime: 0 days 0 hours 0 minutes 2 seconds

System Information

PHP version: 8.3.4
JIT status: Not available
Operating system: linux
System banner: Linux anmine.ru 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64

Error information

Warning: a plugin was indirectly involved in this crash. This may be a false positive. Please contact the plugin author before opening a bug ticket.
Thread: Main
Message: Block ID 10719 is already used by another block
File: pmsrc/src/block/RuntimeBlockStateRegistry
Line: #93
Type: InvalidArgumentException
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
	 * Maps a block type's state permutations to its corresponding state IDs. This is necessary for the block to be
* recognized when fetching it by its state ID from chunks at runtime.
*
* @throws \InvalidArgumentException if the desired block type ID is already registered
*/
public function register(Block $block) : void{
$typeId = $block->getTypeId();

if(isset($this->typeIndex[$typeId])){
throw new \InvalidArgumentException("Block ID $typeId is already used by another block");
}

$this->typeIndex[$typeId] = clone $block;

foreach($block->generateStatePermutations() as $v){
$this->fillStaticArrays($v->getStateId(), $v);
}
}

private function fillStaticArrays(int $index, Block $block) : void{
#0 plugins/Vanilla/src/VanillaLoader(397): pocketmine\block\RuntimeBlockStateRegistry->register(object pocketmine\block\MossCarpet#64437)
#1 plugins/Vanilla/src/VanillaLoader(228): phpmc\vanilla\VanillaLoader::registerSimpleBlock(string[21] minecraft:moss_carpet, object pocketmine\block\MossCarpet#64437, array[1])
#2 plugins/Vanilla/src/VanillaLoader(87): phpmc\vanilla\VanillaLoader::registerBlocks()
#3 plugins/Vanilla/src/VanillaLoader(311): phpmc\vanilla\VanillaLoader::registerOnCurrentThread()
#4 pmsrc/src/plugin/PluginBase(77): phpmc\vanilla\VanillaLoader->onLoad()
#5 pmsrc/src/plugin/PluginManager(218): pocketmine\plugin\PluginBase->__construct(object pocketmine\plugin\FolderPluginLoader#55844, object pocketmine\Server#13, object pocketmine\plugin\PluginDescription#55815, string[44] /home/anmine/servers/s99/plugin_data/Vanilla, string[40] /home/anmine/servers/s99/plugins/Vanilla, object pocketmine\plugin\DiskResourceProvider#51079)
#6 pmsrc/src/plugin/PluginManager(370): pocketmine\plugin\PluginManager->internalLoadPlugin(string[40] /home/anmine/servers/s99/plugins/Vanilla, object pocketmine\plugin\FolderPluginLoader#55844, object pocketmine\plugin\PluginDescription#55815)
#7 pmsrc/src/Server(1069): pocketmine\plugin\PluginManager->loadPlugins(string[33] /home/anmine/servers/s99/plugins/, int 0)
#8 pmsrc/src/PocketMine(355): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#2, object pocketmine\utils\MainLogger#6, string[25] /home/anmine/servers/s99/, string[33] /home/anmine/servers/s99/plugins/)
#9 pmsrc/src/PocketMine(378): pocketmine\server()
#10 /home/anmine/startup/tests/PocketMine-MP.phar(168): require(string[72] phar:///tmp/PocketMine-MP-phar-cache.0/PMMPmH2PNu.tar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show