mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-12-24 20:07:34 +01:00
Re-added revert
This commit is contained in:
parent
811488244a
commit
12f89c7d91
@ -124,10 +124,13 @@ public class EnchantDisplay {
|
||||
return item;
|
||||
}
|
||||
|
||||
revertDisplay(item);
|
||||
|
||||
ItemMeta meta = item.getItemMeta();
|
||||
if (meta == null) {
|
||||
return item;
|
||||
}
|
||||
|
||||
List<String> itemLore = new ArrayList<>();
|
||||
|
||||
if (hide || meta.getPersistentDataContainer().has(KEY_SKIP, PersistentDataType.INTEGER)) {
|
||||
|
Loading…
Reference in New Issue
Block a user