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

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);