From 3f4a65a74dfc8214888d34c9878e9b9fce45b579 Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 16 Aug 2018 17:51:43 +0200 Subject: [PATCH] Update GiveItem.java --- src/main/java/com/gamingmesh/jobs/stuff/GiveItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gamingmesh/jobs/stuff/GiveItem.java b/src/main/java/com/gamingmesh/jobs/stuff/GiveItem.java index 39c2dae1..92cd5fc7 100644 --- a/src/main/java/com/gamingmesh/jobs/stuff/GiveItem.java +++ b/src/main/java/com/gamingmesh/jobs/stuff/GiveItem.java @@ -22,7 +22,7 @@ public class GiveItem { ItemMeta ItemMeta = itemStack.getItemMeta(); if (lore != null) { - List TranslatedLore = new ArrayList(); + List TranslatedLore = new ArrayList<>(); for (String oneLore : lore) { TranslatedLore.add(ChatColor.translateAlternateColorCodes('&', oneLore.replace("[player]", player.getName()))); }