mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-20 15:41:33 +00:00
Be more specific with documentation of ItemFactory::register() and BlockFactory::register()
This commit is contained in:
@@ -395,8 +395,8 @@ class ItemFactory{
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers an item type into the index. Plugins may use this method to register new item types or override existing
|
||||
* ones.
|
||||
* Maps an item type to its corresponding ID. This is necessary to ensure that the item is correctly loaded when
|
||||
* reading data from disk storage.
|
||||
*
|
||||
* NOTE: If you are registering a new item type, you will need to add it to the creative inventory yourself - it
|
||||
* will not automatically appear there.
|
||||
|
Reference in New Issue
Block a user