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/utils/SlimefunUtils.java

Co-authored-by: TheBusyBiscuit <TheBusyBiscuit@users.noreply.github.com>
This commit is contained in:
svr333 2021-06-14 14:20:16 +02:00 committed by GitHub
parent e40f7996bf
commit ffcb8d7146
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;