get All Viewers Deeply
Deprecated
Deprecated in v2.2.0. Will be removed in v2.5.0. Use getViewersDeeply instead.
Replace with
import dev.s7a.ktinventory.util.getViewersDeeply
Content copied to clipboard
getViewersDeeply<T>()Content copied to clipboard
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.0.0
Type Parameters
T
The type of parent inventory