getClaim

fun getClaim(wrapper: WorldGuardWrapper, player: Player, name: String): Optional<IWrappedRegion>(source)

Returns the claim with the given name for the given player.

Return

An Optional IWrappedRegion representing the claim, if it exists.

Parameters

wrapper

The WorldGuardWrapper instance to use.

player

The Player object representing the player.

name

The name of the claim to retrieve.