I'm looking for a suitable replacement for this snippet of my code as it is deprecated:
I am using 1.20.6
Java:
private String translateColorCodes(String text) {
return ChatColor.translateAlternateColorCodes('&', text);
}
- Version Output
-
1.20.6-148-ver
Api Version 1.20.6-R0.1-Snapshot