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:
parent
01e47f457a
commit
45dc194b81
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user