mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2024-11-18 00:46:55 +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
|
else
|
||||||
{
|
{
|
||||||
sender.spigot().sendMessage(TextComponent.fromLegacyText(message));
|
((Player) sender).spigot().sendMessage(TextComponent.fromLegacyText(message));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user