1
0
mirror of https://github.com/Zrips/Jobs.git synced 2025-01-02 14:29:07 +01:00

Deprecate getNameWithColor method instead of removing

This commit is contained in:
montlikadani 2021-05-05 13:08:02 +02:00
parent 01e47f457a
commit 45dc194b81

View File

@ -53,7 +53,7 @@ public class Job {
private Map<String, JobLimitedItems> jobLimitedItems;
private String jobName = "N/A";
private String jobDisplayName = null;
private String jobDisplayName;
private String fullName = "N/A";
// job short name (for use in multiple jobs)
@ -336,6 +336,17 @@ public class Job {
return fullName;
}
/**
* Return the job full name with the set of color.
*
* @return the full name with color
* @deprecated use {@link #getJobDisplayName()} instead
*/
@Deprecated
public String getNameWithColor() {
return jobColour + fullName;
}
/**
* Returns the job name retrieved from the config
*