getOpenInventoryPaginated

Deprecated

Deprecated in v2.2.0. Will be removed in v2.5.0. Use getTopInventoryPaginatedEntry instead.

Replace with

import dev.s7a.ktinventory.util.getTopInventoryPaginatedEntry
getTopInventoryPaginatedEntry(clazz, player)

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

clazz

The KClass of the inventory type

player

The player whose inventory to check

Type Parameters

T

The type of inventory extending AbstractKtInventoryPaginated


Deprecated

Deprecated in v2.2.0. Will be removed in v2.5.0. Use getTopInventoryPaginatedEntry instead.

Replace with

import dev.s7a.ktinventory.util.getTopInventoryPaginatedEntry
getTopInventoryPaginatedEntry<T>(player)

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

player

The player whose inventory to check

Type Parameters

T

The type of inventory extending AbstractKtInventoryPaginated