1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-25 20:16:13 +01:00

Update JobsListener.java

This commit is contained in:
montlikadani 2018-08-16 18:01:56 +02:00 committed by GitHub
parent 3898c34fd3
commit 1567bcdc26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ public class JobsListener implements Listener {
// hook to the main plugin
private Jobs plugin;
private HashMap<UUID, Long> interactDelay = new HashMap<UUID, Long>();
private HashMap<UUID, Long> interactDelay = new HashMap<>();
public JobsListener(Jobs plugin) {
this.plugin = plugin;
@ -657,7 +657,7 @@ public class JobsListener implements Listener {
String name = null;
List<String> lore = new ArrayList<String>();
Map<Enchantment, Integer> enchants = new HashMap<Enchantment, Integer>();
Map<Enchantment, Integer> enchants = new HashMap<>();
try {
enchants = iih.getEnchantments();
} catch (Exception e) {