1
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:
Rothes 2021-04-21 17:56:39 +08:00 committed by GitHub
parent 371a8b5f52
commit 1777965964
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,7 @@ abstract class AbstractEnchantmentMachine extends AContainer {
menu.replaceExistingItem(22, progressBar);
}
protected boolean hasIgnoredLore(ItemStack itemStack) {
protected boolean hasIgnoredLore(@Nonnull ItemStack itemStack) {
List<String> ignoredLore = ignoredLores.getValue();
if (itemStack.hasItemMeta()) {
List<String> itemLore = itemStack.getItemMeta().getLore();