mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-25 15:35:11 +01:00
libreforge-updater
This commit is contained in:
parent
20aa20b765
commit
c3f4e80568
@ -3,6 +3,6 @@ version rootProject.version
|
||||
|
||||
subprojects {
|
||||
dependencies {
|
||||
implementation 'com.willfp:libreforge:3.45.0'
|
||||
implementation 'com.willfp:libreforge:3.45.1'
|
||||
}
|
||||
}
|
||||
|
@ -197,7 +197,11 @@ public class EnchantDisplay extends DisplayModule {
|
||||
lore.addAll(requirementLore);
|
||||
|
||||
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) {
|
||||
fastItemStack.addItemFlags(ItemFlag.HIDE_POTION_EFFECTS);
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#libreforge-updater
|
||||
#Mon May 16 21:44:59 BST 2022
|
||||
version=8.67.0
|
||||
#Tue May 17 18:53:09 BST 2022
|
||||
version=8.67.1
|
||||
plugin-name=EcoEnchants
|
||||
|
Loading…
Reference in New Issue
Block a user