mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-18 12:04:46 +00:00
ItemFactory: add PhpDoc for getAllRegistered()
This commit is contained in:
@@ -486,6 +486,9 @@ class ItemFactory{
|
|||||||
return (($id & 0xffff) << 16) | ($variant & 0xffff);
|
return (($id & 0xffff) << 16) | ($variant & 0xffff);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return Item[]
|
||||||
|
*/
|
||||||
public static function getAllRegistered() : array{
|
public static function getAllRegistered() : array{
|
||||||
return self::$list;
|
return self::$list;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user