mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-11-26 00:40:15 +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