Change send method on bukkit commands

Affects issues:
- Close #1568
This commit is contained in:
Risto Lahtela 2020-09-08 12:43:29 +03:00
parent 7f26afda20
commit 6186e082a1

View File

@ -102,7 +102,7 @@ class BukkitPartBuilder implements MessageBuilder {
@Override
public void send() {
if (sender != null) {
sender.sender.sendMessage(part.create());
sender.sender.spigot().sendMessage(part.create());
} else if (previous != null) {
previous.part.append(part.create());
previous.send();