mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
ItemFactory: add getAllRegistered()
This commit is contained in:
@ -485,4 +485,8 @@ class ItemFactory{
|
||||
}
|
||||
return (($id & 0xffff) << 16) | ($variant & 0xffff);
|
||||
}
|
||||
|
||||
public static function getAllRegistered() : array{
|
||||
return self::$list;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user