mirror of
https://github.com/Auxilor/EcoEnchants.git
synced 2024-11-28 16:05:14 +01:00
libreforge-updater
This commit is contained in:
parent
20aa20b765
commit
c3f4e80568
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -197,7 +197,11 @@ public class EnchantDisplay extends DisplayModule {
|
|||||||
lore.addAll(requirementLore);
|
lore.addAll(requirementLore);
|
||||||
|
|
||||||
fastItemStack.setLore(lore);
|
fastItemStack.setLore(lore);
|
||||||
|
if (itemStack.getType() == Material.ENCHANTED_BOOK) {
|
||||||
|
fastItemStack.addItemFlags(ItemFlag.HIDE_ENCHANTS, ItemFlag.HIDE_POTION_EFFECTS);
|
||||||
|
} else {
|
||||||
fastItemStack.addItemFlags(ItemFlag.HIDE_ENCHANTS);
|
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);
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user