menu
#9718554 Unmapped legacy item ID -10272

Submitted by PocketMine-MP 5.8.2

General information

Version: 5.8.2
Git commit: c3c81b09
Plugin involvement: Indirect
Report date: 2023-12-03 04:34:46 +0000 UTC
Server uptime: 0 days 0 hours 1 minutes 16 seconds

System Information

PHP version: 8.1.26
JIT status: Not available
Operating system: linux
System banner: Linux 02e4f5f5-9cce-4011-a07f-f52e767e8b23 5.10.0-26-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64

Error information

Warning: the SkyWars 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: Unmapped legacy item ID -10272
File: pmsrc/src/data/bedrock/item/upgrade/ItemDataUpgrader
Line: #95
Type: pocketmine\data\SavedDataLoadingException
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
	 * This function replaces the legacy ItemFactory::get().
*
* @throws SavedDataLoadingException if the legacy numeric ID doesn't map to a string ID
*/
public function upgradeItemTypeDataInt(int $legacyNumericId, int $meta, int $count, ?CompoundTag $nbt) : SavedItemStackData{
//do not upgrade the ID beyond this initial step - we need the 1.12 ID for the item ID -> block ID map in the
//next step
$rawNameId = $this->legacyIntToStringIdMap->legacyToString($legacyNumericId);
if($rawNameId === null){
throw new SavedDataLoadingException("Unmapped legacy item ID $legacyNumericId");
}
return $this->upgradeItemTypeDataString($rawNameId, $meta, $count, $nbt);
}

/**
* @throws SavedDataLoadingException
*/
private function upgradeItemTypeNbt(CompoundTag $tag) : ?SavedItemData{
if(($nameIdTag = $tag->getTag(SavedItemData::TAG_NAME)) instanceof StringTag){
//Bedrock 1.6+
#0 plugins/SkyWars - PM5/src/svile/skywars/SWarena(334): pocketmine\data\bedrock\item\upgrade\ItemDataUpgrader->upgradeItemTypeDataInt(int -10272, int 0, int 64, null)
#1 plugins/SkyWars - PM5/src/svile/skywars/SWarena(864): svile\skywars\SWarena->refillChests()
#2 plugins/SkyWars - PM5/src/svile/skywars/SWarena(354): svile\skywars\SWarena->start()
#3 plugins/SkyWars - PM5/src/svile/skywars/SWtimer(65): svile\skywars\SWarena->tick()
#4 pmsrc/src/scheduler/TaskHandler(113): svile\skywars\SWtimer->onRun()
#5 pmsrc/src/scheduler/TaskScheduler(137): pocketmine\scheduler\TaskHandler->run()
#6 pmsrc/src/plugin/PluginManager(533): pocketmine\scheduler\TaskScheduler->mainThreadHeartbeat(int 1501)
#7 pmsrc/src/Server(1791): pocketmine\plugin\PluginManager->tickSchedulers(int 1501)
#8 pmsrc/src/Server(1680): pocketmine\Server->tick()
#9 pmsrc/src/Server(1065): pocketmine\Server->tickProcessor()
#10 pmsrc/src/PocketMine(341): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#3, string[16] /home/container/, string[24] /home/container/plugins/)
#11 pmsrc/src/PocketMine(364): pocketmine\server()
#12 pmsrc(11): require(string[60] phar:///home/container/PocketMine-MP.phar/src/PocketMine.php)

Loaded Plugins

  • Show

Server Settings

  • Show

Installed Composer Dependencies

Installed PHP Extensions

  • Show