1
0
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:
502647092 2016-09-07 21:02:07 +08:00
parent 9138bcac17
commit 2da2ee24ac

View File

@ -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);
}
}