mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-12-28 23:38:32 +01:00
Spigot: Use most compatible signature for CommandSender#sendMessage
This commit is contained in:
parent
8e47a9f5e9
commit
94d56f04bb
1 changed files with 2 additions and 1 deletions
|
@ -73,7 +73,8 @@ public class SpigotCommandSender implements CommandSender {
|
|||
return;
|
||||
}
|
||||
|
||||
handle.sendMessage(BungeeComponentSerializer.get().serialize(message));
|
||||
// CommandSender#sendMessage(BaseComponent[]) is Paper-only
|
||||
handle.spigot().sendMessage(BungeeComponentSerializer.get().serialize(message));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue