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
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ public class BukkitCommandSource implements CommandSource {
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;
}