mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-13 17:29:44 +00:00
Fix Copilot mixup
This commit is contained in:
parent
56e6a55645
commit
419b21281d
@ -61,7 +61,7 @@ final class LegacyBlockStateMapper{
|
||||
throw new \InvalidArgumentException("A mapping for $stringId:$meta already exists");
|
||||
}
|
||||
$this->mappingTable[$stringId][$meta] = $stateData;
|
||||
$this->legacyNumericIdMap->add($intId, $stringId);
|
||||
$this->legacyNumericIdMap->add($stringId, $intId);
|
||||
}
|
||||
|
||||
public static function loadFromString(string $data, LegacyBlockIdToStringIdMap $idMap, BlockStateUpgrader $blockStateUpgrader) : self{
|
||||
|
Loading…
x
Reference in New Issue
Block a user