cast instead of #getplayer

This commit is contained in:
PiggyPiglet 2024-05-21 17:59:57 +08:00 committed by GitHub
parent 7b230fc679
commit a35923a117
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ public final class CommandParse extends PlaceholderCommand {
}
final String message = PlaceholderAPI
.setRelationalPlaceholders(playerOne.getPlayer(), playerTwo.getPlayer(),
.setRelationalPlaceholders((Player) playerOne, (Player) playerTwo,
String.join(" ", params.subList(2, params.size())));
sender.sendMessage(message);