mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-09 22:21:49 +01:00
cast instead of #getplayer
This commit is contained in:
parent
7b230fc679
commit
a35923a117
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user