forked from mirror/PlaceholderAPI
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