@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = true)
public void onPlayerShow(PlayerShowEvent event) {
if (VanishAPI.getConfiguration().getBoolean("Configuration.Messages.VanishReappearMessages.BroadcastMessageOnReappear")) {
PlayerJoinEvent playerJoinEvent = new PlayerJoinEvent(event.getPlayer(), "Fake");
Bukkit.getServer().getPluginManager().callEvent(playerJoinEvent);
}
}
SuperVanishListener.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:Minecordbot
作者:
评论列表
文章目录