From a78b5fe7124be6c4df5698ea33b219216ac39479 Mon Sep 17 00:00:00 2001 From: Sxtanna Date: Wed, 29 Jul 2020 01:49:41 -0400 Subject: [PATCH] updated to use Player#spigot instead of CommandSender#spigot (I miss Kotlin) --- .../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 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)); } } }