Gets the color represented by the specified color code @param code Code to check @return Associative org.bukkit.ChatColor with the given code, or null if it doesn't exist
(char code)
| 306 | * or null if it doesn't exist |
| 307 | */ |
| 308 | @Nullable |
| 309 | public static ChatColor getByChar(char code) { |
| 310 | return BY_CHAR.get(code); |
| 311 | } |
| 312 | |
| 313 | /** |
| 314 | * Gets the color represented by the specified color code |