mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-07 23:52:11 -07:00
#1038: Clarify HumanEntity#openInventory(InventoryView) JavaDoc
By: Miles Holder <mwholder2005@gmail.com>
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user