mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 08:17:34 +00:00
LegacyStringToItemParser: added getMappings()
This commit is contained in:
parent
ce8af4e3bc
commit
6284cd14c7
@ -84,6 +84,14 @@ final class LegacyStringToItemParser{
|
||||
$this->map[$alias] = $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int[]
|
||||
* @phpstan-return array<string, int>
|
||||
*/
|
||||
public function getMappings() : array{
|
||||
return $this->map;
|
||||
}
|
||||
|
||||
/**
|
||||
* Tries to parse the specified string into Item types.
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user