libreforge-updater

This commit is contained in:
Auxilor 2022-05-17 18:53:09 +01:00
parent 20aa20b765
commit c3f4e80568
3 changed files with 8 additions and 4 deletions

View File

@ -3,6 +3,6 @@ version rootProject.version
subprojects { subprojects {
dependencies { dependencies {
implementation 'com.willfp:libreforge:3.45.0' implementation 'com.willfp:libreforge:3.45.1'
} }
} }

View File

@ -197,7 +197,11 @@ public class EnchantDisplay extends DisplayModule {
lore.addAll(requirementLore); lore.addAll(requirementLore);
fastItemStack.setLore(lore); fastItemStack.setLore(lore);
fastItemStack.addItemFlags(ItemFlag.HIDE_ENCHANTS); if (itemStack.getType() == Material.ENCHANTED_BOOK) {
fastItemStack.addItemFlags(ItemFlag.HIDE_ENCHANTS, ItemFlag.HIDE_POTION_EFFECTS);
} else {
fastItemStack.addItemFlags(ItemFlag.HIDE_ENCHANTS);
}
if (itemStack.getType() == Material.ENCHANTED_BOOK) { if (itemStack.getType() == Material.ENCHANTED_BOOK) {
fastItemStack.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS); fastItemStack.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS);
} }

View File

@ -1,4 +1,4 @@
#libreforge-updater #libreforge-updater
#Mon May 16 21:44:59 BST 2022 #Tue May 17 18:53:09 BST 2022
version=8.67.0 version=8.67.1
plugin-name=EcoEnchants plugin-name=EcoEnchants