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:
parent
3898c34fd3
commit
1567bcdc26
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user