get Viewers Deeply
Gets all online players currently viewing an inventory or child inventory of the specified parent type. This function searches through the inventory hierarchy to find parent inventories of the specified type.
Return
Map of players to their open parent inventories of type T
Since
2.2.0
Parameters
clazz
The KClass of the parent inventory type
Type Parameters
T
The type of parent inventory
Gets all online players currently viewing an inventory or child inventory of the specified parent type. This function searches through the inventory hierarchy to find parent inventories of the specified type.
Return
Map of players to their open parent inventories of type T
Since
2.2.0
Type Parameters
T
The type of parent inventory