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