mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-02-02 11:21:20 +01:00
fixed a display issue
This commit is contained in:
parent
b7104ceea1
commit
f1891dee57
@ -140,6 +140,7 @@ public class ItemBrowser extends PluginInventory {
|
||||
lore.add(ChatColor.YELLOW + AltChar.smallListDash + " Right click to edit this item.");
|
||||
}
|
||||
|
||||
meta.setLore(lore);
|
||||
item.setItemMeta(meta);
|
||||
cached.put(template.getId(), item);
|
||||
|
||||
|
@ -104,7 +104,7 @@ public class ItemUse implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler(priority = EventPriority.HIGH, ignoreCancelled = true)
|
||||
@EventHandler(ignoreCancelled = true)
|
||||
public void meleeAttacks(PlayerAttackEvent event) {
|
||||
|
||||
// Checks if it's a melee attack
|
||||
|
Loading…
Reference in New Issue
Block a user