Re-added revert

This commit is contained in:
Auxilor 2021-01-31 15:59:44 +00:00
parent 811488244a
commit 12f89c7d91

View File

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