Make sure to use the vanilla tellraw command to send spigot-messages

This commit is contained in:
Lukas Rieger (Blue) 2023-03-07 16:16:01 +01:00
parent 1be7dd5746
commit 4e970621ae
No known key found for this signature in database
GPG Key ID: 2D09EC5ED2687FF2

View File

@ -56,7 +56,7 @@ public void sendMessage(Text text) {
Player player = (Player) delegate;
//kinda hacky but works
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "tellraw " + player.getName() + " " + text.toJSONString());
Bukkit.getServer().dispatchCommand(Bukkit.getConsoleSender(), "minecraft:tellraw " + player.getName() + " " + text.toJSONString());
return;
}