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:
parent
e40f7996bf
commit
ffcb8d7146
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user