From a35923a117f45a2c5f19de68a02cf10526e8ad94 Mon Sep 17 00:00:00 2001 From: PiggyPiglet Date: Tue, 21 May 2024 17:59:57 +0800 Subject: [PATCH] cast instead of #getplayer --- .../clip/placeholderapi/commands/impl/local/CommandParse.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandParse.java b/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandParse.java index 7313f65..1ff59b9 100644 --- a/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandParse.java +++ b/src/main/java/me/clip/placeholderapi/commands/impl/local/CommandParse.java @@ -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);