mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-22 18:45:21 +01:00
Make sure to use the vanilla tellraw command to send spigot-messages
This commit is contained in:
parent
1be7dd5746
commit
4e970621ae
@ -56,7 +56,7 @@ public void sendMessage(Text text) {
|
|||||||
Player player = (Player) delegate;
|
Player player = (Player) delegate;
|
||||||
|
|
||||||
//kinda hacky but works
|
//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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user