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