mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-09 11:31:49 +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;
|
$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.
|
* Tries to parse the specified string into Item types.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user