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 8bdf5d6..e0298fe 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 @@ -139,7 +139,7 @@ public final class CommandParse extends PlaceholderCommand } else { - sender.spigot().sendMessage(TextComponent.fromLegacyText(message)); + ((Player) sender).spigot().sendMessage(TextComponent.fromLegacyText(message)); } } }