mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-27 13:15:28 +01:00
Improved GameModePlaceholderReplacer javadoc
This commit is contained in:
parent
07be933a9d
commit
98cb301070
@ -14,6 +14,12 @@ import world.bentobox.bentobox.database.objects.Island;
|
||||
@FunctionalInterface
|
||||
public interface GameModePlaceholderReplacer {
|
||||
|
||||
/**
|
||||
* @param addon the GameModeAddon that registered the placeholder, cannot be null.
|
||||
* @param user the User to which the placeholder will be shown, can be null.
|
||||
* @param island the Island of the User, can be null.
|
||||
* @return the String containing the requested value or an empty String.
|
||||
*/
|
||||
@NonNull
|
||||
String onReplace(@NonNull GameModeAddon addon, @Nullable User user, @Nullable Island island);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user