diff --git a/src/net/mc_pandacraft/java/plugin/pandacraftutils/afk/AfkPlayer.java b/src/net/mc_pandacraft/java/plugin/pandacraftutils/afk/AfkPlayer.java index 942f507..daa93ad 100644 --- a/src/net/mc_pandacraft/java/plugin/pandacraftutils/afk/AfkPlayer.java +++ b/src/net/mc_pandacraft/java/plugin/pandacraftutils/afk/AfkPlayer.java @@ -2,6 +2,7 @@ package net.mc_pandacraft.java.plugin.pandacraftutils.afk; import net.mc_pandacraft.java.plugin.pandacraftutils.plugin_interface.EssentialsInterface; +import org.bukkit.ChatColor; import org.bukkit.entity.Player; public class AfkPlayer { @@ -34,9 +35,9 @@ public class AfkPlayer { // affichage du message if (afk) - message = player.getDisplayName()+"§r est désormais AFK."; + message = player.getDisplayName()+ChatColor.YELLOW+" est désormais AFK."; else - message = player.getDisplayName()+"§r n'est plus AFK."; + message = player.getDisplayName()+ChatColor.YELLOW+" n'est plus AFK."; player.getServer().broadcastMessage(message); }