mirror of
https://github.com/Zrips/Jobs.git
synced 2025-01-02 14:29:07 +01:00
Update documentation of job name
This commit is contained in:
parent
7ba66de4fe
commit
3fdb5be9f5
@ -328,14 +328,22 @@ public class Job {
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the full job name
|
||||
* Returns the name of this job
|
||||
*
|
||||
* @return the full job name
|
||||
* @return the name of this job
|
||||
*/
|
||||
public String getName() {
|
||||
return jobName;
|
||||
}
|
||||
|
||||
public String getJobFullName() {
|
||||
return fullName;
|
||||
}
|
||||
|
||||
public String getJobDisplayName() {
|
||||
return jobDisplayName == null ? jobColour + fullName : jobDisplayName;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the job full name with the set of color.
|
||||
*
|
||||
@ -675,14 +683,6 @@ public class Job {
|
||||
return obj instanceof Job && isSame((Job) obj);
|
||||
}
|
||||
|
||||
public String getJobFullName() {
|
||||
return fullName;
|
||||
}
|
||||
|
||||
public String getJobDisplayName() {
|
||||
return jobDisplayName == null ? jobColour + fullName : jobDisplayName;
|
||||
}
|
||||
|
||||
public void setJobDisplayName(String jobDisplayName) {
|
||||
this.jobDisplayName = jobDisplayName;
|
||||
}
|
||||
|
@ -170,7 +170,7 @@ public class BufferedEconomy {
|
||||
economy.depositPlayer(serverTaxesAccount, taxesAmount);
|
||||
}
|
||||
|
||||
if (serverTaxesAccount.isOnline() && Jobs.getGCManager().ActionBarsMessageByDefault) {
|
||||
if (Jobs.getGCManager().ActionBarsMessageByDefault && serverTaxesAccount.isOnline()) {
|
||||
ActionBarManager.send(Bukkit.getPlayer(serverAccountName),
|
||||
Jobs.getLanguage().getMessage("message.taxes", "[amount]", (int) (totalAmount * 100) / 100.0));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user