Solved Color 'Bug'? (Displays RGB Code)

Discussion in 'Spigot Plugin Development' started by MaxisMartin, Jun 16, 2016.

  1. Short and simple:
    Code (Text):
    if(player != null) {
                            player.sendMessage(Color.GRAY + "Specify a display name.");
    ^ Instead of outputting a gray color, it spits:
    Any idea as to why? My IDE clearly says the Color is imported from org.bukkit.
  2. Do ChatColor.GRAY
  3. Oh, my bad xD