mirror of
https://github.com/Zrips/Jobs.git
synced 2024-12-01 15:03:36 +01:00
Update JobItems.java
This commit is contained in:
parent
976ff8a9f9
commit
5b70bff727
@ -70,7 +70,7 @@ public class JobItems {
|
|||||||
if (this.name != null)
|
if (this.name != null)
|
||||||
meta.setDisplayName(ChatColor.translateAlternateColorCodes('&', name));
|
meta.setDisplayName(ChatColor.translateAlternateColorCodes('&', name));
|
||||||
if (lore != null) {
|
if (lore != null) {
|
||||||
List<String> TranslatedLore = new ArrayList<String>();
|
List<String> TranslatedLore = new ArrayList<>();
|
||||||
for (String oneLore : lore) {
|
for (String oneLore : lore) {
|
||||||
TranslatedLore.add(ChatColor.translateAlternateColorCodes('&', oneLore.replace("[player]", player.getName())));
|
TranslatedLore.add(ChatColor.translateAlternateColorCodes('&', oneLore.replace("[player]", player.getName())));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user