mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 16:24:05 +00:00
Be more specific with documentation of ItemFactory::register() and BlockFactory::register()
This commit is contained in:
parent
6071746993
commit
c979ab8aa0
@ -810,8 +810,8 @@ class BlockFactory{
|
||||
}
|
||||
|
||||
/**
|
||||
* Registers a block type into the index. Plugins may use this method to register new block types or override
|
||||
* existing ones.
|
||||
* Maps a block type to its corresponding ID. This is necessary to ensure that the block is correctly loaded when
|
||||
* reading from disk storage.
|
||||
*
|
||||
* NOTE: If you are registering a new block type, you will need to add it to the creative inventory yourself - it
|
||||
* will not automatically appear there.
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user