public interface IslandPlaceholderParser extends java.util.function.BiFunction<Island,SuperiorPlayer,java.lang.String>
Modifier and Type | Method and Description |
---|---|
java.lang.String |
apply(Island island,
SuperiorPlayer superiorPlayer)
Get the result of this placeholder for the given island.
|
@Nullable java.lang.String apply(@Nullable Island island, SuperiorPlayer superiorPlayer)
apply
in interface java.util.function.BiFunction<Island,SuperiorPlayer,java.lang.String>
island
- The island to parse.superiorPlayer
- The player that requested the placeholder.