mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-26 00:27:08 +01:00
#1038: Clarify HumanEntity#openInventory(InventoryView) JavaDoc
By: Miles Holder <mwholder2005@gmail.com>
This commit is contained in:
parent
125fef9ab7
commit
68d6fa6800
1 changed files with 6 additions and 0 deletions
|
@ -136,6 +136,12 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
|
|||
|
||||
/**
|
||||
* Opens an inventory window to the specified inventory view.
|
||||
* <p>
|
||||
* The player associated with the InventoryView must be the same as this
|
||||
* instance of HumanEntity.
|
||||
* <p>
|
||||
* The player of the InventoryView can be checked using
|
||||
* {@link InventoryView#getPlayer()}.
|
||||
*
|
||||
* @param inventory The view to open
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue