From 1567bcdc264dff1937edfde4f592f03275f4f7ae Mon Sep 17 00:00:00 2001 From: montlikadani Date: Thu, 16 Aug 2018 18:01:56 +0200 Subject: [PATCH] Update JobsListener.java --- src/main/java/com/gamingmesh/jobs/listeners/JobsListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/listeners/JobsListener.java b/src/main/java/com/gamingmesh/jobs/listeners/JobsListener.java index aa509f4b..1615c8a5 100644 --- a/src/main/java/com/gamingmesh/jobs/listeners/JobsListener.java +++ b/src/main/java/com/gamingmesh/jobs/listeners/JobsListener.java @@ -88,7 +88,7 @@ public class JobsListener implements Listener { // hook to the main plugin private Jobs plugin; - private HashMap interactDelay = new HashMap(); + private HashMap interactDelay = new HashMap<>(); public JobsListener(Jobs plugin) { this.plugin = plugin; @@ -657,7 +657,7 @@ public class JobsListener implements Listener { String name = null; List lore = new ArrayList(); - Map enchants = new HashMap(); + Map enchants = new HashMap<>(); try { enchants = iih.getEnchantments(); } catch (Exception e) {