mirror of
https://e.coding.net/circlecloud/YumCore.git
synced 2024-11-22 01:48:50 +00:00
fix: 修复Tellraw公告兼容性问题
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
9138bcac17
commit
2da2ee24ac
@ -9,6 +9,8 @@ import org.bukkit.ChatColor;
|
||||
import org.bukkit.command.CommandSender;
|
||||
import org.bukkit.entity.Player;
|
||||
|
||||
import pw.yumc.YumCore.bukkit.compatible.C;
|
||||
|
||||
/**
|
||||
* TellRaw简易处理类
|
||||
*
|
||||
@ -50,7 +52,7 @@ public class Tellraw {
|
||||
* 发送Tellraw公告
|
||||
*/
|
||||
public void broadcast() {
|
||||
for (final Player player : Bukkit.getOnlinePlayers()) {
|
||||
for (final Player player : C.Player.getOnlinePlayers()) {
|
||||
send(player);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user