get Open Inventory Paginated
fun <T : AbstractKtInventoryPaginated<*>> getOpenInventoryPaginated(clazz: KClass<T>, player: HumanEntity): AbstractKtInventoryPaginated.Entry<T>?
Gets the currently open paginated inventory entry of the specified type for a player.
Return
The open paginated inventory entry of type T, or null if not found
Since
2.0.0
Parameters
T
The type of inventory extending AbstractKtInventoryPaginated
clazz
The KClass of the inventory type
player
The player whose inventory to check
inline fun <T : AbstractKtInventoryPaginated<*>> getOpenInventoryPaginated(player: HumanEntity): AbstractKtInventoryPaginated.Entry<T>?
Gets the currently open paginated inventory entry of the specified type for a player.
Return
The open paginated inventory entry of type T, or null if not found
Since
2.0.0
Parameters
T
The type of inventory extending AbstractKtInventoryPaginated
player
The player whose inventory to check