#250 Deserializer is already assigned for "minecraft:dripstone_block"
Submitted by PocketMine-MP 5.20.1+dev.2070
General information
Version: | 5.20.1+dev.2070 |
---|---|
Git commit: | 99bad88e |
Plugin involvement: | Indirect |
Report date: | 2024-10-27 15:07:24 +0000 UTC |
Server uptime: | 0 days 0 hours 0 minutes 1 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: | Deserializer is already assigned for "minecraft:dripstone_block" |
File: | pmsrc/src/data/bedrock/block/convert/BlockStateToObjectDeserializer |
Line: | #107 |
Type: | InvalidArgumentException |
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
}
//we can't cache blocks that have properties - go ahead and deserialize the slow way
return $this->deserializeBlock($stateData)->getStateId();
}
/** @phpstan-param \Closure(Reader) : Block $c */
public function map(string $id, \Closure $c) : void{
if(array_key_exists($id, $this->deserializeFuncs)){
throw new \InvalidArgumentException("Deserializer is already assigned for \"$id\"");
}
$this->deserializeFuncs[$id] = $c;
}
/** @phpstan-param \Closure() : Block $getBlock */
public function mapSimple(string $id, \Closure $getBlock) : void{
$this->map($id, $getBlock);
}
/**
#0 plugins/Vanilla/src/VanillaLoader(399): pocketmine\data\bedrock\block\convert\BlockStateToObjectDeserializer->map(string[25] minecraft:dripstone_block, object Closure#64563)
#1 plugins/Vanilla/src/VanillaLoader(197): phpmc\vanilla\VanillaLoader::registerSimpleBlock(string[25] minecraft:dripstone_block, object pocketmine\block\Opaque#64573, 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#55845, object pocketmine\Server#13, object pocketmine\plugin\PluginDescription#50991, string[44] /home/anmine/servers/s99/plugin_data/Vanilla, string[40] /home/anmine/servers/s99/plugins/Vanilla, object pocketmine\plugin\DiskResourceProvider#51075)
#6 pmsrc/src/plugin/PluginManager(370): pocketmine\plugin\PluginManager->internalLoadPlugin(string[40] /home/anmine/servers/s99/plugins/Vanilla, object pocketmine\plugin\FolderPluginLoader#55845, object pocketmine\plugin\PluginDescription#50991)
#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/PMMPS6d1xq.tar/src/PocketMine.php)
Loaded Plugins
-
Show
Server Settings
-
Show
Installed Composer Dependencies
-
Show
Installed PHP Extensions
-
Show