mirror of
https://github.com/Zrips/Jobs.git
synced 2024-11-29 14:05:25 +01:00
Update GiveItem.java
This commit is contained in:
parent
138f8bfeb3
commit
3f4a65a74d
@ -22,7 +22,7 @@ public class GiveItem {
|
||||
ItemMeta ItemMeta = itemStack.getItemMeta();
|
||||
|
||||
if (lore != null) {
|
||||
List<String> TranslatedLore = new ArrayList<String>();
|
||||
List<String> TranslatedLore = new ArrayList<>();
|
||||
for (String oneLore : lore) {
|
||||
TranslatedLore.add(ChatColor.translateAlternateColorCodes('&', oneLore.replace("[player]", player.getName())));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user