13
0
geforkt von Mirrors/Paper

#1038: Clarify HumanEntity#openInventory(InventoryView) JavaDoc

By: Miles Holder <mwholder2005@gmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2024-06-22 18:48:49 +10:00
Ursprung 125fef9ab7
Commit 68d6fa6800

Datei anzeigen

@ -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
*/