fixed a display issue

This commit is contained in:
Indyuce 2021-10-29 20:04:53 +02:00
parent b7104ceea1
commit f1891dee57
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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