mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Update src/main/java/io/github/thebusybiscuit/slimefun4/implementation/items/electric/machines/enchanting/AbstractEnchantmentMachine.java
Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>
This commit is contained in:
parent
371a8b5f52
commit
1777965964
@ -60,7 +60,7 @@ abstract class AbstractEnchantmentMachine extends AContainer {
|
|||||||
menu.replaceExistingItem(22, progressBar);
|
menu.replaceExistingItem(22, progressBar);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected boolean hasIgnoredLore(ItemStack itemStack) {
|
protected boolean hasIgnoredLore(@Nonnull ItemStack itemStack) {
|
||||||
List<String> ignoredLore = ignoredLores.getValue();
|
List<String> ignoredLore = ignoredLores.getValue();
|
||||||
if (itemStack.hasItemMeta()) {
|
if (itemStack.hasItemMeta()) {
|
||||||
List<String> itemLore = itemStack.getItemMeta().getLore();
|
List<String> itemLore = itemStack.getItemMeta().getLore();
|
||||||
|
Loading…
Reference in New Issue
Block a user