mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI.git
synced 2024-12-30 21:07:42 +01:00
updated to use Player#spigot instead of CommandSender#spigot (I miss Kotlin)
This commit is contained in:
parent
68402d244b
commit
a78b5fe712
@ -139,7 +139,7 @@ public final class CommandParse extends PlaceholderCommand
|
||||
}
|
||||
else
|
||||
{
|
||||
sender.spigot().sendMessage(TextComponent.fromLegacyText(message));
|
||||
((Player) sender).spigot().sendMessage(TextComponent.fromLegacyText(message));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user