From ffcb8d7146865c35c7db1914d14c544fc74ae4eb Mon Sep 17 00:00:00 2001 From: svr333 Date: Mon, 14 Jun 2021 14:20:16 +0200 Subject: [PATCH] Update src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java Co-authored-by: TheBusyBiscuit --- .../github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java b/src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java index 5d1b663d1..bfbf22d63 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/utils/SlimefunUtils.java @@ -294,9 +294,7 @@ public final class SlimefunUtils { return false; } else if (itemMeta.hasDisplayName() && sfitemMeta.hasDisplayName() && !itemMeta.getDisplayName().equals(sfitemMeta.getDisplayName())) { return false; - } - - if (checkLore) { + } else if (checkLore) { if (itemMeta.hasLore() && sfitemMeta.hasLore() && !equalsLore(itemMeta.getLore(), sfitemMeta.getLore()) || itemMeta.hasLore() != sfitemMeta.hasLore()) { return false;