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)
| 304 | * or null if it doesn't exist |
| 305 | */ |
| 306 | @Nullable |
| 307 | public static ChatColor getByChar(char code) { |
| 308 | return BY_CHAR.get(code); |
| 309 | } |
| 310 | |
| 311 | /** |
| 312 | * Gets the color represented by the specified color code |
no test coverage detected