Use PlayerRef instead of Player, finalise expansion/replace api

This commit is contained in:
PiggyPiglet
2026-01-24 19:05:58 +08:00
parent 722279308a
commit 7111fef559
7 changed files with 252 additions and 165 deletions

View File

@@ -31,7 +31,7 @@ import org.jetbrains.annotations.Nullable;
public interface Replacer {
@NotNull
String apply(@NotNull final String text, @Nullable final Player player,
String apply(@NotNull final String text, @Nullable final PlayerRef player,
@NotNull final Function<String, @Nullable PlaceholderExpansion> lookup);